home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Web Server / Apache Configuration Editor.EXE / setup.txt < prev    next >
Encoding:
Text File  |  1998-11-24  |  291.9 KB  |  9,901 lines

  1. //
  2. // Basic Setup info:
  3. //    Program Name
  4. //    Program Executable
  5. //    Where the install path is saved in the registry
  6. //    The key name for the above
  7. //    Default install path
  8. //    Check the Add to Startup Group option
  9. //    Check the Uninstall option
  10. //    Check the Launch it option
  11. //    Check the Add Program Group option
  12. //    Name to use on the program's icon
  13. //    Dialog title string for installation
  14. //    Dialog title string for uninstallation
  15. //    Completed installation message
  16. //    Completed uninstallatino message
  17. //    Required free space for installation, in KB
  18. //
  19. // Note: These entries cannot have any spaces or comments between them/
  20. //
  21. DSTSetup:SetupInfo
  22. Apache Configuration Editor
  23. ApacehConfig.exe
  24. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Config
  25. ProgramPath
  26. C:\Program Files\DST-ACE
  27. 0
  28. 1
  29. 0
  30. 1
  31. Apache Configuration Editor
  32. Setup DST-ACE...
  33. Uninstall DST-ACE...
  34. Congratulations, setup is now complete, please enjoy Apache Configuration Editor...
  35. This phase of uninstall is now finished, to completely uninstall you will need to restart your computer.  This will remove all remaining files from your system, however it is not necessary to restart immediately.
  36. 1000
  37.  
  38. //
  39. // Add this program to the start menu, only one item can follow this entry
  40. //
  41. //    executable name (install path perpended to it)
  42. //    command line args ( can use %InstallDir% )
  43. //    description
  44. //
  45. DSTSetup:StartMenu
  46. ApacheConfig.exe
  47.  
  48. Apache Configuration Editor
  49.  
  50. //
  51. // Add a program to the program group that the user specifies.
  52. //
  53. //    executable name (install path perpended to it)
  54. //    command line args ( can use %InstallDir% )
  55. //    description
  56. //
  57. DSTSetup:AddProgram
  58. apacheconfig.exe
  59.  
  60. Apache Configuration Editor
  61.  
  62. DSTSetup:AddProgram
  63. HelpFile\index.html
  64.  
  65. Apache Configuration Editor Manual
  66.  
  67. DSTSetup:AddProgram
  68. setup.exe
  69. %InstallDir%\setup.txt
  70. Uninstall Apache Configuration Editor
  71.  
  72. //
  73. // Add keys to the registry
  74. //
  75. DSTSetup:RegistryKey
  76. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig
  77. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\Config
  78. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\QuickConfig
  79. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\Templates
  80. HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig
  81. HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig\Config
  82.  
  83.  
  84. //
  85. // Add values to the registry
  86. //    Where to put it.
  87. //    Value name
  88. //    Type of value: REG_SZ or REG_DWORD
  89. //    Setting for the value
  90. //
  91. // Note: the Value location must exist prior to setting the value.
  92. // Note: you can use %InstallDir% inside the setting to insert the installation
  93. //     directory as specified by the user (including trailing \)
  94. //
  95. // Start populating HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\Config
  96. DSTSetup:RegistryValue
  97. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\Config
  98. ConfirmDelete
  99. REG_DWORD
  100. 1
  101. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\Config
  102. DefaultConfigFilePath
  103. REG_SZ
  104. %InstallDir%Default
  105. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\Config
  106. DefaultConfigPath
  107. REG_SZ
  108. %InstallDir%Config
  109. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\Config
  110. HelpPath
  111. REG_SZ
  112. %InstallDir%HelpFile
  113.  
  114. // Start populating HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\QuickConfig
  115. DSTSetup:RegistryValue
  116. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\QuickConfig
  117. DocumentRoot
  118. REG_SZ
  119. /Apache/htdocs
  120. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\QuickConfig
  121. Group
  122. REG_SZ
  123. #-1
  124. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\QuickConfig
  125. Port
  126. REG_SZ
  127. 80
  128. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\QuickConfig
  129. ServerAdmin
  130. REG_SZ
  131. you@your.domain
  132. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\QuickConfig
  133. ServerRoot
  134. REG_SZ
  135. /Apache
  136. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\QuickConfig
  137. ServerType
  138. REG_SZ
  139. Windows
  140. HKEY_LOCAL_MACHINE\Software\DarkStar\ApacheConfig\QuickConfig
  141. User
  142. REG_SZ
  143. nobody
  144.  
  145. // Start populating HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig\Config
  146. DSTSetup:RegistryValue
  147. HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig\Config
  148. ConfirmDelete
  149. REG_DWORD
  150. 1
  151. HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig\Config
  152. DefaultConfigPath
  153. REG_SZ
  154. %InstallDir%Config
  155. HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig\Config
  156. SaveConfigPath
  157. REG_DWORD
  158. 1
  159. HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig\Config
  160. SaveOnExit
  161. REG_DWORD
  162. 1
  163. HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig\Config
  164. SaveWindowPos
  165. REG_DWORD
  166. 1
  167. HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig\Config
  168. ToolBarDesc
  169. REG_DWORD
  170. 0
  171. HKEY_CURRENT_USER\Software\DarkStar\ApacheConfig\Config
  172. WindowDivider
  173. REG_DWORD
  174. 200
  175.  
  176. //
  177. // Create a directory under the install directory.  
  178. // Multiple lines can be used to specify multiple dirs.
  179. //
  180. DSTSetup:AddDirectory
  181. Config
  182. Default
  183. HelpFile
  184.  
  185. //
  186. // Copy a file from the temp directory to the installation directory.
  187. //    Path to copy to
  188. //    File to copy
  189. // Multiple lines can be used to specify multiple dirs.
  190. //
  191. DSTSetup:CopyFile
  192. .\
  193. ApacheConfig.exe
  194. .\
  195. setup.exe
  196. .\
  197. readme.txt
  198. .\
  199. ureadme.txt
  200. .\
  201. legal.txt
  202. Default
  203. access.conf-dist
  204. Default
  205. access.conf-dist-win
  206. Default
  207. httpd.conf-dist
  208. Default
  209. httpd.conf-dist-win
  210. Default
  211. srm.conf-dist
  212. Default
  213. srm.conf-dist-win
  214. HelpFile
  215. ApacheConfigHelp.chm
  216.  
  217.  
  218. //
  219. // Build the templates registry structure
  220. //
  221. DSTSetup:RegistryKey
  222. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates
  223.  
  224. DSTSetup:RegistryKey
  225. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\access.conf
  226.  
  227. DSTSetup:RegistryValue
  228. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\access.conf
  229. Description
  230. REG_SZ
  231. This file defines server settings which affect which types of services are allowed, and in what circumstances. Each directory to which Apache has access, can be configured with respect to which services and features are allowed and/or disabled in that directory (and its subdirectories).).
  232.  
  233. DSTSetup:RegistryValue
  234. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\access.conf
  235. Default
  236. REG_SZ
  237.  
  238.  
  239. DSTSetup:RegistryValue
  240. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\access.conf
  241. Parent
  242. REG_DWORD
  243. 2
  244.  
  245. DSTSetup:RegistryKey
  246. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AccessConfig
  247.  
  248. DSTSetup:RegistryStringStart
  249. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AccessConfig
  250. Description
  251. Syntax: AccessConfig filename
  252. Default: AccessConfig conf/access.conf
  253. Context: server config, virtual host
  254. Status: core
  255.  
  256.  
  257. The server will read this file for more directives after reading the 
  258. ResourceConfig file. Filename is relative to the ServerRoot. This feature can be
  259. disabled using: 
  260.  
  261.  
  262.     AccessConfig /dev/null
  263.  
  264.  
  265. Historically, this file only contained <Directory> sections; in fact it can now
  266. contain any server directive allowed in the server config context. 
  267. DSTSetup:RegistryStringEnd
  268.  
  269. DSTSetup:RegistryValue
  270. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AccessConfig
  271. Default
  272. REG_SZ
  273. conf/access.conf
  274.  
  275. DSTSetup:RegistryValue
  276. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AccessConfig
  277. Parent
  278. REG_DWORD
  279. 0
  280.  
  281. DSTSetup:RegistryKey
  282. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AccessFileName
  283.  
  284. DSTSetup:RegistryStringStart
  285. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AccessFileName
  286. Description
  287. Syntax: AccessFileName filename filename ...
  288. Default: AccessFileName .htaccess
  289. Context: server config, virtual host
  290. Status: core
  291.  
  292. Compatibility: AccessFileName can accept more than one filename only in Apache
  293. 1.3 and later
  294.  
  295. When returning a document to the client the server looks for the first existing
  296. access control file from this list of names in every directory of the path to
  297. the document, if access control files are enabled for that directory. For
  298. example: 
  299.  
  300.  
  301.     AccessFileName .acl
  302.  
  303.  
  304. before returning the document /usr/local/web/index.html, the server will read
  305. /.acl, /usr/.acl, /usr/local/.acl and /usr/local/web/.acl for directives, unless
  306. they have been disabled with 
  307.  
  308.  
  309.     <Directory />
  310.     AllowOverride None
  311.     </Directory>
  312. DSTSetup:RegistryStringEnd
  313.  
  314. DSTSetup:RegistryValue
  315. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AccessFileName
  316. Default
  317. REG_SZ
  318. .htaccess
  319.  
  320. DSTSetup:RegistryValue
  321. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AccessFileName
  322. Parent
  323. REG_DWORD
  324. 0
  325.  
  326. DSTSetup:RegistryKey
  327. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Action
  328.  
  329. DSTSetup:RegistryStringStart
  330. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Action
  331. Description
  332. Syntax: Action MIME-type cgi-script
  333. Context: server config, virtual host, directory, .htaccess
  334. Override: FileInfo
  335. Status: Base
  336. Module: mod_actions
  337.  
  338. Compatibility: Action is only available in Apache 1.1 and later 
  339.  
  340.  
  341. This directive adds an action, which will activate cgi-script when a file of
  342. content type MIME-type is requested. It sends the URL and file path of the
  343. requested document using the standard CGI PATH_INFO and PATH_TRANSLATED
  344. environment variables. 
  345. DSTSetup:RegistryStringEnd
  346.  
  347. DSTSetup:RegistryValue
  348. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Action
  349. Default
  350. REG_SZ
  351.  
  352.  
  353. DSTSetup:RegistryValue
  354. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Action
  355. Parent
  356. REG_DWORD
  357. 0
  358.  
  359. DSTSetup:RegistryKey
  360. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAlt
  361.  
  362. DSTSetup:RegistryStringStart
  363. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAlt
  364. Description
  365. Syntax: AddAlt string file file...
  366. Context: server config, virtual host, directory, .htaccess
  367. Override: Indexes
  368. Status: Base
  369. Module: mod_autoindex
  370.  
  371.  
  372.  
  373. This sets the alternate text to display for a file, instead of an icon, for 
  374. FancyIndexing. File is a file extension, partial filename, wild-card expression
  375. or full filename for files to describe. String is enclosed in double quotes (").
  376. This alternate text is displayed if the client is image-incapable or has image
  377. loading disabled. 
  378. DSTSetup:RegistryStringEnd
  379.  
  380. DSTSetup:RegistryValue
  381. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAlt
  382. Default
  383. REG_SZ
  384.  
  385.  
  386. DSTSetup:RegistryValue
  387. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAlt
  388. Parent
  389. REG_DWORD
  390. 0
  391.  
  392. DSTSetup:RegistryKey
  393. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAltByEncoding
  394.  
  395. DSTSetup:RegistryStringStart
  396. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAltByEncoding
  397. Description
  398. Syntax: AddAltByEncoding string MIME-encoding MIME-encoding...
  399. Context: server config, virtual host, directory, .htaccess
  400. Override: Indexes
  401. Status: Base
  402. Module: mod_autoindex
  403.  
  404.  
  405.  
  406. This sets the alternate text to display for a file, instead of an icon, for 
  407. FancyIndexing. MIME-encoding is a valid content-encoding, such as x-compress. 
  408. String is enclosed in double quotes ("). This alternate text is displayed if the
  409. client is image-incapable or has image loading disabled. 
  410. DSTSetup:RegistryStringEnd
  411.  
  412. DSTSetup:RegistryValue
  413. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAltByEncoding
  414. Default
  415. REG_SZ
  416.  
  417.  
  418. DSTSetup:RegistryValue
  419. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAltByEncoding
  420. Parent
  421. REG_DWORD
  422. 0
  423.  
  424. DSTSetup:RegistryKey
  425. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAltByType
  426.  
  427. DSTSetup:RegistryStringStart
  428. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAltByType
  429. Description
  430. Syntax: AddAltByType string MIME-type MIME-type ...
  431. Context: server config, virtual host, directory, .htaccess
  432. Override: Indexes
  433. Status: Base
  434. Module: mod_autoindex
  435.  
  436.  
  437.  
  438. This sets the alternate text to display for a file, instead of an icon, for 
  439. FancyIndexing. MIME-type is a valid content-type, such as text/html. String is
  440. enclosed in double quotes ("). This alternate text is displayed if the client is
  441. image-incapable or has image loading disabled. 
  442. DSTSetup:RegistryStringEnd
  443.  
  444. DSTSetup:RegistryValue
  445. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAltByType
  446. Default
  447. REG_SZ
  448.  
  449.  
  450. DSTSetup:RegistryValue
  451. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddAltByType
  452. Parent
  453. REG_DWORD
  454. 0
  455.  
  456. DSTSetup:RegistryKey
  457. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddDescription
  458.  
  459. DSTSetup:RegistryStringStart
  460. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddDescription
  461. Description
  462. Syntax: AddDescription string file file...
  463. Context: server config, virtual host, directory, .htaccess
  464. Override: Indexes
  465. Status: Base
  466. Module: mod_autoindex
  467.  
  468.  
  469. This sets the description to display for a file, for FancyIndexing. File is a
  470. file extension, partial filename, wild-card expression or full filename for
  471. files to describe. String is enclosed in double quotes ("). Example: 
  472.  
  473.  
  474.     AddDescription "The planet Mars" /web/pics/mars.gif 
  475. DSTSetup:RegistryStringEnd
  476.  
  477. DSTSetup:RegistryValue
  478. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddDescription
  479. Default
  480. REG_SZ
  481.  
  482.  
  483. DSTSetup:RegistryValue
  484. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddDescription
  485. Parent
  486. REG_DWORD
  487. 0
  488.  
  489. DSTSetup:RegistryKey
  490. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddEncoding
  491.  
  492. DSTSetup:RegistryStringStart
  493. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddEncoding
  494. Description
  495. Syntax: AddEncoding MIME-enc extension extension...
  496. Context: server config, virtual host, directory, .htaccess
  497. Override: FileInfo
  498. Status: Base
  499. Module: mod_mime
  500.  
  501.  
  502.  
  503. The AddEncoding directive adds to the list of filename extensions which
  504. filenames may end in for the specified encoding type. Mime-enc is the mime
  505. encoding to use for documents ending in extension. Example: 
  506.  
  507.     AddEncoding x-gzip gz
  508.     AddEncoding x-compress Z 
  509.  
  510.  
  511. This will cause files ending in .gz to be marked as encoded using the x-gzip
  512. encoding, and .Z files to be marked as encoded with x-compress.
  513.  
  514.  
  515. Old clients expect x-gzip and x-compress, however the standard dictates that
  516. they're equivalent to gzip and compress respectively. Apache does content
  517. encoding comparisons by ignoring any leading x-. When responding with an
  518. encoding Apache will use whatever form (i.e., x-foo or foo) the client
  519. requested. If the client didn't specifically request a particular form Apache
  520. will use the form given by the AddEncoding directive. To make this long story
  521. short, you should always use x-gzip and x-compress for these two specific
  522. encodings. More recent encodings, such as deflate should be specified without
  523. the x-. 
  524. DSTSetup:RegistryStringEnd
  525.  
  526. DSTSetup:RegistryValue
  527. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddEncoding
  528. Default
  529. REG_SZ
  530.  
  531.  
  532. DSTSetup:RegistryValue
  533. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddEncoding
  534. Parent
  535. REG_DWORD
  536. 0
  537.  
  538. DSTSetup:RegistryKey
  539. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddHandler
  540.  
  541. DSTSetup:RegistryStringStart
  542. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddHandler
  543. Description
  544. Syntax: AddHandler handler-name extension extension...
  545. Context: server config, virtual host, directory, .htaccess
  546. Override: FileInfo
  547. Status: Base
  548. Module: mod_mime
  549.  
  550. Compatibility: AddHandler is only available in Apache 1.1 and later
  551.  
  552.  
  553. AddHandler maps the filename extensions extension to the handler handler-name.
  554. For example, to activate CGI scripts with the file extension ".cgi", you might
  555. use: 
  556.  
  557.  
  558.  
  559.     AddHandler cgi-script cgi
  560.  
  561.  
  562. Once that has been put into your srm.conf or httpd.conf file, any file ending
  563. with ".cgi" will be treated as a CGI program.
  564. DSTSetup:RegistryStringEnd
  565.  
  566. DSTSetup:RegistryValue
  567. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddHandler
  568. Default
  569. REG_SZ
  570.  
  571.  
  572. DSTSetup:RegistryValue
  573. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddHandler
  574. Parent
  575. REG_DWORD
  576. 0
  577.  
  578. DSTSetup:RegistryKey
  579. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIcon
  580.  
  581. DSTSetup:RegistryStringStart
  582. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIcon
  583. Description
  584. Syntax: AddIcon icon name name ...
  585. Context: server config, virtual host, directory, .htaccess
  586. Override: Indexes
  587. Status: Base
  588. Module: mod_autoindex
  589.  
  590.  
  591. This sets the icon to display next to a file ending in name for FancyIndexing. 
  592. Icon is either a (%-escaped) relative URL to the icon, or of the format
  593. (alttext,url) where alttext is the text tag given for an icon for non-graphical
  594. browsers.
  595.  
  596.  
  597. Name is either ^^DIRECTORY^^ for directories, ^^BLANKICON^^ for blank lines (to
  598. format the list correctly), a file extension, a wildcard expression, a partial
  599. filename or a complete filename. Examples: 
  600.  
  601.  
  602.     AddIcon (IMG,/icons/image.xbm) .gif .jpg .xbm 
  603.     AddIcon /icons/dir.xbm ^^DIRECTORY^^ 
  604.     AddIcon /icons/backup.xbm *~ 
  605.  
  606.  
  607. AddIconByType should be used in preference to AddIcon, when possible.
  608. DSTSetup:RegistryStringEnd
  609.  
  610. DSTSetup:RegistryValue
  611. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIcon
  612. Default
  613. REG_SZ
  614.  
  615.  
  616. DSTSetup:RegistryValue
  617. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIcon
  618. Parent
  619. REG_DWORD
  620. 0
  621.  
  622. DSTSetup:RegistryKey
  623. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIconByEncoding
  624.  
  625. DSTSetup:RegistryStringStart
  626. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIconByEncoding
  627. Description
  628. Syntax: AddIconByEncoding icon MIME-encoding MIME-encoding ...
  629. Context: server config, virtual host, directory, .htaccess
  630. Override: Indexes
  631. Status: Base
  632. Module: mod_autoindex
  633.  
  634.  
  635.  
  636. This sets the icon to display next to files with MIME-encoding for 
  637. FancyIndexing. Icon is either a (%-escaped) relative URL to the icon, or of the
  638. format (alttext,url) where alttext is the text tag given for an icon for
  639. non-graphical browsers.
  640.  
  641.  
  642. Mime-encoding is a wildcard expression matching required the content-encoding.
  643. Examples: 
  644.  
  645.  
  646.     AddIconByEncoding /icons/compress.xbm x-compress 
  647. DSTSetup:RegistryStringEnd
  648.  
  649. DSTSetup:RegistryValue
  650. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIconByEncoding
  651. Default
  652. REG_SZ
  653.  
  654.  
  655. DSTSetup:RegistryValue
  656. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIconByEncoding
  657. Parent
  658. REG_DWORD
  659. 0
  660.  
  661. DSTSetup:RegistryKey
  662. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIconByType
  663.  
  664. DSTSetup:RegistryStringStart
  665. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIconByType
  666. Description
  667. Syntax: AddIconByType icon MIME-type MIME-type ...
  668. Context: server config, virtual host, directory, .htaccess
  669. Override: Indexes
  670. Status: Base
  671. Module: mod_autoindex
  672.  
  673.  
  674.  
  675. This sets the icon to display next to files of type MIME-type for FancyIndexing.
  676. Icon is either a (%-escaped) relative URL to the icon, or of the format
  677. (alttext,url) where alttext is the text tag given for an icon for non-graphical
  678. browsers.
  679.  
  680.  
  681. Mime-type is a wildcard expression matching required the mime types. Examples: 
  682.  
  683.     AddIconByType (IMG,/icons/image.xbm) image/* 
  684. DSTSetup:RegistryStringEnd
  685.  
  686. DSTSetup:RegistryValue
  687. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIconByType
  688. Default
  689. REG_SZ
  690.  
  691.  
  692. DSTSetup:RegistryValue
  693. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddIconByType
  694. Parent
  695. REG_DWORD
  696. 0
  697.  
  698. DSTSetup:RegistryKey
  699. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddLanguage
  700.  
  701. DSTSetup:RegistryStringStart
  702. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddLanguage
  703. Description
  704. Syntax: AddLanguage MIME-lang extension extension...
  705. Context: server config, virtual host, directory, .htaccess
  706. Override: FileInfo
  707. Status: Base
  708. Module: mod_mime
  709.  
  710.  
  711.  
  712. The AddLanguage directive adds to the list of filename extensions which
  713. filenames may end in for the specified content language. Mime-lang is the mime
  714. language of files with names ending extension, after any content encoding
  715. extensions have been removed. Example: 
  716.  
  717.  
  718.     AddEncoding x-compress Z
  719.     AddLanguage en .en
  720.     AddLanguage fr .fr
  721.  
  722.  
  723. Then the document xxxx.en.Z will be treated as being a compressed English
  724. document. Although the content language is reported to the client, the browser
  725. is unlikely to use this information. The AddLanguage directive is more useful
  726. for content negotiation, where the server returns one from several documents
  727. based on the client's language preference.
  728. DSTSetup:RegistryStringEnd
  729.  
  730. DSTSetup:RegistryValue
  731. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddLanguage
  732. Default
  733. REG_SZ
  734.  
  735.  
  736. DSTSetup:RegistryValue
  737. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddLanguage
  738. Parent
  739. REG_DWORD
  740. 0
  741.  
  742. DSTSetup:RegistryKey
  743. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddModule
  744.  
  745. DSTSetup:RegistryStringStart
  746. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddModule
  747. Description
  748. Syntax: AddModule module module ...
  749. Context: server config 
  750. Status: core
  751.  
  752. Compatibility: AddModule is only available in Apache 1.2 and later
  753.  
  754.  
  755. The server can have modules compiled in which are not actively in use. This
  756. directive can be used to enable the use of those modules. The server comes with
  757. a pre-loaded list of active modules; this list can be cleared with the 
  758. ClearModuleList directive.
  759. DSTSetup:RegistryStringEnd
  760.  
  761. DSTSetup:RegistryValue
  762. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddModule
  763. Default
  764. REG_SZ
  765.  
  766.  
  767. DSTSetup:RegistryValue
  768. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddModule
  769. Parent
  770. REG_DWORD
  771. 0
  772.  
  773. DSTSetup:RegistryKey
  774. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddModuleInfo
  775.  
  776. DSTSetup:RegistryStringStart
  777. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddModuleInfo
  778. Description
  779. Syntax: AddModuleInfo module-name string
  780. Context: server config, virtual host
  781. Status: base
  782. Module: mod_browser
  783.  
  784. Compatibility: Apache 1.3 and above
  785.  
  786.  
  787. This allows the content of string to be shown as HTML interpreted, Additional
  788. Information for the module module-name. Example: 
  789.  
  790.  
  791.     AddModuleInfo mod_auth.c 'See <A HREF="http://www.apache.org/docs/mod/mod_auth.html">http://www.apache.org/docs/mod/mod_auth.html</A>'
  792. DSTSetup:RegistryStringEnd
  793.  
  794. DSTSetup:RegistryValue
  795. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddModuleInfo
  796. Default
  797. REG_SZ
  798.  
  799.  
  800. DSTSetup:RegistryValue
  801. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddModuleInfo
  802. Parent
  803. REG_DWORD
  804. 0
  805.  
  806. DSTSetup:RegistryKey
  807. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddType
  808.  
  809. DSTSetup:RegistryStringStart
  810. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddType
  811. Description
  812. Syntax: AddType MIME-type extension extension...
  813. Context: server config, virtual host, directory, .htaccess
  814. Override: FileInfo
  815. Status: Base
  816. Module: mod_mime
  817.  
  818.  
  819.  
  820. The AddType directive adds to the list of filename extensions which filenames
  821. may end in for the specified content type. Mime-enc is the mime type to use for
  822. documents ending in extension. after content-encoding and language extensions
  823. have been removed. Example: 
  824.  
  825.  
  826.     AddType image/gif GIF 
  827.  
  828.  
  829. It is recommended that new mime types be added using the AddType directive
  830. rather than changing the TypesConfig file.
  831.  
  832. Note that, unlike the NCSA httpd, this directive cannot be used to set the type
  833. of particular files.
  834. DSTSetup:RegistryStringEnd
  835.  
  836. DSTSetup:RegistryValue
  837. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddType
  838. Default
  839. REG_SZ
  840.  
  841.  
  842. DSTSetup:RegistryValue
  843. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AddType
  844. Parent
  845. REG_DWORD
  846. 0
  847.  
  848. DSTSetup:RegistryKey
  849. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AgentLog
  850.  
  851. DSTSetup:RegistryStringStart
  852. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AgentLog
  853. Description
  854. Syntax: AgentLog file-pipe
  855. Default: AgentLog logs/agent_log
  856. Context: server config, virtual host
  857. Status: Extension
  858. Module: mod_log_agent
  859.  
  860.  
  861.  
  862. The AgentLog directive sets the name of the file to which the server will log
  863. the UserAgent header of incoming requests. File-pipe is one of 
  864.  
  865.  
  866. A filename 
  867.      A filename relative to the ServerRoot. 
  868.  
  869. `|' followed by a command 
  870.      A program to receive the agent log information on its standard input. Note
  871.      the a new program will not be started for a VirtualHost if it inherits the
  872.      AgentLog from the main server. 
  873.  
  874.  
  875. Security: if a program is used, then it will be run under the user who started
  876. httpd. This will be root if the server was started by root; be sure that the
  877. program is secure.
  878.  
  879.  
  880. Security: See the security tips document for details on why your security could
  881. be compromised if the directory where logfiles are stored is writable by anyone
  882. other than the user that starts the server.
  883.  
  884.  
  885. This directive is provided for compatibility with NCSA 1.4.
  886. DSTSetup:RegistryStringEnd
  887.  
  888. DSTSetup:RegistryValue
  889. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AgentLog
  890. Default
  891. REG_SZ
  892. logs/agent_log
  893.  
  894. DSTSetup:RegistryValue
  895. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AgentLog
  896. Parent
  897. REG_DWORD
  898. 0
  899.  
  900. DSTSetup:RegistryKey
  901. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Alias
  902.  
  903. DSTSetup:RegistryStringStart
  904. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Alias
  905. Description
  906. Syntax: Alias url-path directory-filename
  907. Context: server config, virtual host
  908. Status: Base
  909. Module: mod_alias 
  910.  
  911.  
  912.  
  913. The Alias directive allows documents to be stored in the local filesystem other
  914. than under the DocumentRoot. URLs with a (%-decoded) path beginning with 
  915. url-path will be mapped to local files beginning with directory-filename. 
  916.  
  917.  
  918. Example: 
  919.  
  920.  
  921.     Alias /image /ftp/pub/image
  922.  
  923.  
  924. A request for http://myserver/image/foo.gif would cause the server to return the
  925. file /ftp/pub/image/foo.gif. 
  926.  
  927. Note that if you include a trailing / on the url-path then the server will
  928. require a trailing / in order to expand the alias. That is, if you use Alias
  929. /icons/ /usr/local/apache/icons/ then the url /icons will not be aliased. 
  930.  
  931.  
  932. Note that you may need to specify additional <Directory> sections which cover
  933. the destination of aliases. Aliasing occurs before <Directory> sections are
  934. checked, so only the destination of aliases are affected. (Note however 
  935. <Location> sections are run through once before aliases are performed, so they
  936. will apply.) 
  937.  
  938.  
  939. See also ScriptAlias. 
  940. DSTSetup:RegistryStringEnd
  941.  
  942. DSTSetup:RegistryValue
  943. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Alias
  944. Default
  945. REG_SZ
  946.  
  947.  
  948. DSTSetup:RegistryValue
  949. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Alias
  950. Parent
  951. REG_DWORD
  952. 0
  953.  
  954. DSTSetup:RegistryKey
  955. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AliasMatch
  956.  
  957. DSTSetup:RegistryStringStart
  958. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AliasMatch
  959. Description
  960. Syntax: AliasMatch regex directory-filename
  961. Context: server config, virtual host
  962. Status: Base
  963. Module: mod_alias
  964.  
  965. Compatibility: Available in Apache 1.3 and later 
  966.  
  967.  
  968. This directive is equivalent to Alias, but makes use of standard regular
  969. expressions, instead of simple prefix matching. The supplied regular expression
  970. is matched against the URL, and if it matches, the server will substitute any
  971. parenthesized matches into the given string and use it as a filename. For
  972. example, to activate the /icons directory, one might use: 
  973.  
  974.  
  975.  
  976.     AliasMatch ^/icons(.*) /usr/local/apache/icons$1
  977. DSTSetup:RegistryStringEnd
  978.  
  979. DSTSetup:RegistryValue
  980. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AliasMatch
  981. Default
  982. REG_SZ
  983.  
  984.  
  985. DSTSetup:RegistryValue
  986. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AliasMatch
  987. Parent
  988. REG_DWORD
  989. 0
  990.  
  991. DSTSetup:RegistryKey
  992. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\allow
  993.  
  994. DSTSetup:RegistryStringStart
  995. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\allow
  996. Description
  997. Syntax: allow from host host ...
  998. Context: directory, .htaccess
  999. Override: Limit
  1000. Status: Base
  1001. Module: mod_access 
  1002.  
  1003.  
  1004.  
  1005. The allow directive affects which hosts can access a given directory. Host is
  1006. one of the following: 
  1007.  
  1008.  
  1009. all 
  1010.      All hosts are allowed access 
  1011.  
  1012.  
  1013. A (partial) domain-name 
  1014.      Hosts whose names match, or end in, this string are allowed access. 
  1015.  
  1016. A full IP address 
  1017.      An IP address of a host allowed access 
  1018.  
  1019.  
  1020. A partial IP address 
  1021.      The first 1 to 3 bytes of an IP address, for subnet restriction. 
  1022.  
  1023.  
  1024. A network/netmask pair (Apache 1.3 and later) 
  1025.      A network a.b.c.d, and a netmask w.x.y.z. For more fine-grained subnet
  1026.      restriction. (i.e., 10.1.0.0/255.255.0.0) 
  1027.  
  1028.  
  1029. A network/nnn CIDR specification (Apache 1.3 and later) 
  1030.      Similar to the previous case, except the netmask consists of nnn high-order
  1031.      1 bits. (i.e., 10.1.0.0/16 is the same as 10.1.0.0/255.255.0.0) 
  1032.  
  1033.  
  1034. Example: 
  1035.  
  1036.     allow from .ncsa.uiuc.edu
  1037.  
  1038.  
  1039. All hosts in the specified domain are allowed access. 
  1040.  
  1041.  
  1042. Note that this compares whole components; bar.edu would not match foobar.edu. 
  1043.  
  1044.  
  1045. See also deny, order, and BrowserMatch. 
  1046.  
  1047.  
  1048. Syntax: allow from env=variablename
  1049. Context: directory, .htaccess
  1050. Override: Limit
  1051. Status: Base
  1052. Module: mod_access
  1053. Compatibility: Apache 1.2 and above 
  1054.  
  1055. The allow from env directive controls access to a directory by the existence (or
  1056. non-existence) of an environment variable. 
  1057.  
  1058.  
  1059. Example: 
  1060.  
  1061.  
  1062.  
  1063.     BrowserMatch ^KnockKnock/2.0 let_me_in
  1064.     <Directory /docroot>
  1065.         order deny,allow
  1066.         deny from all
  1067.         allow from env=let_me_in
  1068.     </Directory>
  1069.  
  1070.  
  1071. In this case browsers with the user-agent string KnockKnock/2.0 will be allowed
  1072. access, and all others will be denied. 
  1073.  
  1074.  
  1075. See also deny from env and order. 
  1076. DSTSetup:RegistryStringEnd
  1077.  
  1078. DSTSetup:RegistryValue
  1079. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\allow
  1080. Default
  1081. REG_SZ
  1082.  
  1083.  
  1084. DSTSetup:RegistryValue
  1085. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\allow
  1086. Parent
  1087. REG_DWORD
  1088. 0
  1089.  
  1090. DSTSetup:RegistryKey
  1091. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AllowCONNECT
  1092.  
  1093. DSTSetup:RegistryStringStart
  1094. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AllowCONNECT
  1095. Description
  1096. Syntax: AllowCONNECT <port list>
  1097. Default: AllowCONNECT 443 563
  1098. Context: server config, virtual host
  1099. Override: Not applicable
  1100. Status: Base
  1101. Module: mod_proxy
  1102.  
  1103. Compatibility: AllowCONNECT is only available in Apache 1.3.2 and later.
  1104.  
  1105.  
  1106. The AllowCONNECT directive specifies a list of port numbers to which the proxy 
  1107. CONNECT method may connect. Today's browsers use this method when a https
  1108. connection is requested and proxy tunneling over http is in effect.
  1109. By default, only the default https port (443) and the default snews port (563)
  1110. are enabled. Use the AllowCONNECT directive to overrride this default and allow
  1111. connections to the listed ports only. 
  1112. DSTSetup:RegistryStringEnd
  1113.  
  1114. DSTSetup:RegistryValue
  1115. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AllowCONNECT
  1116. Default
  1117. REG_SZ
  1118. 443 563
  1119.  
  1120. DSTSetup:RegistryValue
  1121. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AllowCONNECT
  1122. Parent
  1123. REG_DWORD
  1124. 0
  1125.  
  1126. DSTSetup:RegistryKey
  1127. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AllowOverride
  1128.  
  1129. DSTSetup:RegistryStringStart
  1130. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AllowOverride
  1131. Description
  1132. Syntax: AllowOverride override override ...
  1133. Default: AllowOverride All
  1134. Context: directory
  1135. Status: core
  1136.  
  1137.  
  1138.  
  1139. When the server finds an .htaccess file (as specified by AccessFileName) it
  1140. needs to know which directives declared in that file can override earlier access
  1141. information.
  1142.  
  1143.  
  1144. Override can be set to None, in which case the server will not read the file, 
  1145. All in which case the server will allow all the directives, or one or more of
  1146. the following: 
  1147.  
  1148.  
  1149. AuthConfig 
  1150.      Allow use of the authorization directives (AuthDBMGroupFile, 
  1151.      AuthDBMUserFile, AuthGroupFile, AuthName, AuthType, AuthUserFile, require, 
  1152.      etc.). 
  1153.  
  1154.  
  1155. FileInfo 
  1156.      Allow use of the directives controlling document types (AddEncoding, 
  1157.      AddLanguage, AddType, DefaultType, ErrorDocument, LanguagePriority, etc.). 
  1158.  
  1159. Indexes 
  1160.      Allow use of the directives controlling directory indexing (AddDescription,
  1161.      AddIcon, AddIconByEncoding, AddIconByType, DefaultIcon, DirectoryIndex, 
  1162.      FancyIndexing, HeaderName, IndexIgnore, IndexOptions, ReadmeName, etc.). 
  1163.  
  1164.  
  1165. Limit 
  1166.      Allow use of the directives controlling host access (allow, deny and
  1167.      order). 
  1168.  
  1169.  
  1170. Options 
  1171.      Allow use of the directives controlling specific directory features
  1172.      (Options and XBitHack). 
  1173. DSTSetup:RegistryStringEnd
  1174.  
  1175. DSTSetup:RegistryValue
  1176. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AllowOverride
  1177. Default
  1178. REG_SZ
  1179. All
  1180.  
  1181. DSTSetup:RegistryValue
  1182. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AllowOverride
  1183. Parent
  1184. REG_DWORD
  1185. 0
  1186.  
  1187. DSTSetup:RegistryKey
  1188. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Alternate
  1189.  
  1190. DSTSetup:RegistryStringStart
  1191. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Alternate
  1192. Description
  1193. The ExpiresDefault and ExpiresByType directives can also be defined in a more
  1194. readable syntax of the form: 
  1195.  
  1196.  
  1197.      ExpiresDefault "<base> [plus] {<num> <type>}*" 
  1198.      ExpiresByType type/encoding "<base> [plus] {<num> <type>}*" 
  1199.  
  1200. where <base> is one of: 
  1201.  
  1202.  
  1203.   * access 
  1204.  
  1205.   * now (equivalent to 'access') 
  1206.  
  1207.   * modification 
  1208.  
  1209.  
  1210. The 'plus' keyword is optional. <num> should be an integer value [acceptable to 
  1211. atoi()], and <type> is one of: 
  1212.  
  1213.  
  1214.   * years 
  1215.  
  1216.   * months 
  1217.  
  1218.   * weeks 
  1219.  
  1220.   * days 
  1221.  
  1222.   * hours 
  1223.  
  1224.   * minutes 
  1225.  
  1226.   * seconds 
  1227.  
  1228.  
  1229. For example, any of the following directives can be used to make documents
  1230. expire 1 month after being accessed, by default: 
  1231.  
  1232.      ExpiresDefault "access plus 1 month" 
  1233.      ExpiresDefault "access plus 4 weeks" 
  1234.      ExpiresDefault "access plus 30 days" 
  1235.  
  1236.  
  1237. The expiry time can be fine-tuned by adding several '<num> <type>' clauses: 
  1238.  
  1239.  
  1240.      ExpiresByType text/html "access plus 1 month 15 days 2 hours" 
  1241.      ExpiresByType image/gif "modification plus 5 hours 3 minutes" 
  1242.  
  1243.  
  1244. Note that if you use a modification date based setting, the Expires header will 
  1245. not be added to content that does not come from a file on disk. This is due to
  1246. the fact that there is no modification time for such content.  
  1247. DSTSetup:RegistryStringEnd
  1248.  
  1249. DSTSetup:RegistryValue
  1250. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Alternate
  1251. Default
  1252. REG_SZ
  1253.  
  1254.  
  1255. DSTSetup:RegistryValue
  1256. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Alternate
  1257. Parent
  1258. REG_DWORD
  1259. 0
  1260.  
  1261. DSTSetup:RegistryKey
  1262. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous
  1263.  
  1264. DSTSetup:RegistryStringStart
  1265. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous
  1266. Description
  1267. Syntax: Anonymous user user ...
  1268. Default: none
  1269. Context: directory, .htaccess
  1270. Override: AuthConfig
  1271. Status: Extension
  1272. Module: mod_auth_anon
  1273.  
  1274.  
  1275.  
  1276. A list of one or more 'magic' userIDs which are allowed access without password
  1277. verification. The userIDs are space separated. It is possible to use the ' and "
  1278. quotes to allow a space in a userID as well as the \ escape character. 
  1279.  
  1280.  
  1281. Please note that the comparison is case-IN-sensitive. 
  1282. I strongly suggest that the magic username 'anonymous' is always one of the
  1283. allowed userIDs. 
  1284.  
  1285.  
  1286. Example:
  1287. Anonymous anonymous "Not Registered" 'I don\'t know' 
  1288.  
  1289. This would allow the user to enter without password verification by using the
  1290. userId's 'anonymous', 'AnonyMous','Not Registered' and 'I Don't Know'. 
  1291. DSTSetup:RegistryStringEnd
  1292.  
  1293. DSTSetup:RegistryValue
  1294. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous
  1295. Default
  1296. REG_SZ
  1297.  
  1298.  
  1299. DSTSetup:RegistryValue
  1300. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous
  1301. Parent
  1302. REG_DWORD
  1303. 0
  1304.  
  1305. DSTSetup:RegistryKey
  1306. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_Authoritative
  1307.  
  1308. DSTSetup:RegistryStringStart
  1309. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_Authoritative
  1310. Description
  1311. Syntax: Anonymous_Authoritative on | off
  1312. Default: Anonymous_Authoritative off
  1313. Context: directory, .htaccess
  1314. Override: AuthConfig
  1315. Status: Extension
  1316. Module: mod_auth_anon
  1317.  
  1318.  
  1319.  
  1320. When set 'on', there is no fall-through to other authorization methods. So if a
  1321. userID does not match the values specified in the Anonymous directive, access is
  1322. denied. 
  1323.  
  1324. Be sure you know what you are doing when you decide to switch it on. And
  1325. remember that it is the linking order of the modules (in the Configuration /
  1326. Make file) which details the order in which the Authorization modules are
  1327. queried. 
  1328. DSTSetup:RegistryStringEnd
  1329.  
  1330. DSTSetup:RegistryValue
  1331. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_Authoritative
  1332. Default
  1333. REG_SZ
  1334. off
  1335.  
  1336. DSTSetup:RegistryValue
  1337. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_Authoritative
  1338. Parent
  1339. REG_DWORD
  1340. 0
  1341.  
  1342. DSTSetup:RegistryKey
  1343. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_LogEmail
  1344.  
  1345. DSTSetup:RegistryStringStart
  1346. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_LogEmail
  1347. Description
  1348. Syntax: Anonymous_LogEmail on | off
  1349. Default: Anonymous_LogEmail on
  1350. Context: directory, .htaccess
  1351. Override: AuthConfig
  1352. Status: Extension
  1353. Module: mod_auth_anon
  1354.  
  1355.  
  1356.  
  1357. When set 'on', the default, the 'password' entered (which hopefully contains a
  1358. sensible email address) is logged in the error log. 
  1359. DSTSetup:RegistryStringEnd
  1360.  
  1361. DSTSetup:RegistryValue
  1362. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_LogEmail
  1363. Default
  1364. REG_SZ
  1365. on
  1366.  
  1367. DSTSetup:RegistryValue
  1368. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_LogEmail
  1369. Parent
  1370. REG_DWORD
  1371. 0
  1372.  
  1373. DSTSetup:RegistryKey
  1374. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_MustGiveEmail
  1375.  
  1376. DSTSetup:RegistryStringStart
  1377. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_MustGiveEmail
  1378. Description
  1379. Syntax: Anonymous_MustGiveEmail on | off
  1380. Default: Anonymous_MustGiveEmail on
  1381. Context: directory, .htaccess
  1382. Override: AuthConfig
  1383. Status: Extension
  1384. Module: mod_auth_anon
  1385.  
  1386.  
  1387.  
  1388. Specifies whether the user must specify an email address as the password. This
  1389. prohibits blank passwords. 
  1390. DSTSetup:RegistryStringEnd
  1391.  
  1392. DSTSetup:RegistryValue
  1393. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_MustGiveEmail
  1394. Default
  1395. REG_SZ
  1396. on
  1397.  
  1398. DSTSetup:RegistryValue
  1399. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_MustGiveEmail
  1400. Parent
  1401. REG_DWORD
  1402. 0
  1403.  
  1404. DSTSetup:RegistryKey
  1405. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_NoUserID
  1406.  
  1407. DSTSetup:RegistryStringStart
  1408. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_NoUserID
  1409. Description
  1410. Syntax: Anonymous_NoUserID on | off
  1411. Default: Anonymous_NoUserID off
  1412. Context: directory, .htaccess
  1413. Override: AuthConfig
  1414. Status: Extension
  1415. Module: mod_auth_anon
  1416.  
  1417.  
  1418. When set 'on', users can leave the userID (and perhaps the password field)
  1419. empty. This can be very convenient for MS-Explorer users who can just hit return
  1420. or click directly on the OK button; which seems a natural reaction. 
  1421. DSTSetup:RegistryStringEnd
  1422.  
  1423. DSTSetup:RegistryValue
  1424. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_NoUserID
  1425. Default
  1426. REG_SZ
  1427. off
  1428.  
  1429. DSTSetup:RegistryValue
  1430. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_NoUserID
  1431. Parent
  1432. REG_DWORD
  1433. 0
  1434.  
  1435. DSTSetup:RegistryKey
  1436. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_VerifyEmail
  1437.  
  1438. DSTSetup:RegistryStringStart
  1439. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_VerifyEmail
  1440. Description
  1441. Syntax: Anonymous_VerifyEmail on | off
  1442. Default: Anonymous_VerifyEmail off
  1443. Context: directory, .htaccess
  1444. Override: AuthConfig
  1445. Status: Extension
  1446. Module: mod_auth_anon
  1447.  
  1448.  
  1449.  
  1450. When set 'on' the 'password' entered is checked for at least one '@' and a '.'
  1451. to encourage users to enter valid email addresses (see the above Auth_LogEmail).
  1452. DSTSetup:RegistryStringEnd
  1453.  
  1454. DSTSetup:RegistryValue
  1455. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_VerifyEmail
  1456. Default
  1457. REG_SZ
  1458. off
  1459.  
  1460. DSTSetup:RegistryValue
  1461. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_VerifyEmail
  1462. Parent
  1463. REG_DWORD
  1464. 0
  1465.  
  1466. DSTSetup:RegistryKey
  1467. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthAuthoritative
  1468.  
  1469. DSTSetup:RegistryStringStart
  1470. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthAuthoritative
  1471. Description
  1472. Syntax: AuthAuthoritative < on(default) | off > 
  1473. Context: directory, .htaccess
  1474. Override: AuthConfig
  1475. Status: Base
  1476. Module: mod_auth
  1477.  
  1478.  
  1479.  
  1480. Setting the AuthAuthoritative directive explicitly to 'off' allows for both
  1481. authentication and authorization to be passed on to lower level modules (as
  1482. defined in the Configuration and modules.c files) if there is no userID or rule
  1483. matching the supplied userID. If there is a userID and/or rule specified; the
  1484. usual password and access checks will be applied and a failure will give an
  1485. Authorization Required reply. 
  1486.  
  1487. So if a userID appears in the database of more than one module; or if a valid
  1488. require directive applies to more than one module; then the first module will
  1489. verify the credentials; and no access is passed on; regardless of the
  1490. AuthAuthoritative setting. 
  1491.  
  1492.  
  1493. A common use for this is in conjunction with one of the database modules; such
  1494. as mod_auth_db.c, mod_auth_dbm.c, mod_auth_msql.c, and mod_auth_anon.c. These
  1495. modules supply the bulk of the user credential checking; but a few
  1496. (administrator) related accesses fall through to a lower level with a well
  1497. protected AuthUserFile. 
  1498.  
  1499.  
  1500. Default: By default; control is not passed on; and an unknown userID or rule
  1501. will result in an Authorization Required reply. Not setting it thus keeps the
  1502. system secure; and forces an NCSA compliant behaviour. 
  1503.  
  1504.  
  1505. Security: Do consider the implications of allowing a user to allow fall-through
  1506. in his .htaccess file; and verify that this is really what you want; Generally
  1507. it is easier to just secure a single .htpasswd file, than it is to secure a
  1508. database such as mSQL. Make sure that the AuthUserFile is stored outside the
  1509. document tree of the web-server; do not put it in the directory that it
  1510. protects. Otherwise, clients will be able to download the AuthUserFile. 
  1511.  
  1512.  
  1513. See also AuthName, AuthType and AuthGroupFile.
  1514. DSTSetup:RegistryStringEnd
  1515.  
  1516. DSTSetup:RegistryValue
  1517. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthAuthoritative
  1518. Default
  1519. REG_SZ
  1520.  
  1521.  
  1522. DSTSetup:RegistryValue
  1523. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthAuthoritative
  1524. Parent
  1525. REG_DWORD
  1526. 0
  1527.  
  1528. DSTSetup:RegistryKey
  1529. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBAuthoritative
  1530.  
  1531. DSTSetup:RegistryStringStart
  1532. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBAuthoritative
  1533. Description
  1534. Syntax: AuthDBAuthoritative < on(default) | off > 
  1535. Context: directory, .htaccess
  1536. Override: AuthConfig
  1537. Status: Base
  1538. Module: mod_auth
  1539.  
  1540.  
  1541.  
  1542. Setting the AuthDBAuthoritative directive explicitly to 'off' allows for both
  1543. authentication and authorization to be passed on to lower level modules (as
  1544. defined in the Configuration and modules.c file if there is no userID or rule
  1545. matching the supplied userID. If there is a userID and/or rule specified; the
  1546. usual password and access checks will be applied and a failure will give an
  1547. Authorization Required reply. 
  1548.  
  1549.  
  1550. So if a userID appears in the database of more than one module; or if a valid
  1551. require directive applies to more than one module; then the first module will
  1552. verify the credentials; and no access is passed on; regardless of the
  1553. AuthAuthoritative setting. 
  1554.  
  1555. A common use for this is in conjunction with one of the basic auth modules; such
  1556. as mod_auth.c. Whereas this DB module supplies the bulk of the user credential
  1557. checking; a few (administrator) related accesses fall through to a lower level
  1558. with a well protected .htpasswd file. 
  1559.  
  1560.  
  1561. Default: By default; control is not passed on; and an unknown userID or rule
  1562. will result in an Authorization Required reply. Not setting it thus keeps the
  1563. system secure; and forces an NCSA compliant behaviour. 
  1564.  
  1565.  
  1566. Security: Do consider the implications of allowing a user to allow fall-through
  1567. in his .htaccess file; and verify that this is really what you want; Generally
  1568. it is easier to just secure a single .htpasswd file, than it is to secure a
  1569. database which might have more access interfaces. 
  1570.  
  1571.  
  1572. See also AuthName, AuthType and AuthDBGroupFile.
  1573. DSTSetup:RegistryStringEnd
  1574.  
  1575. DSTSetup:RegistryValue
  1576. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBAuthoritative
  1577. Default
  1578. REG_SZ
  1579.  
  1580.  
  1581. DSTSetup:RegistryValue
  1582. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBAuthoritative
  1583. Parent
  1584. REG_DWORD
  1585. 0
  1586.  
  1587. DSTSetup:RegistryKey
  1588. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBGroupFile
  1589.  
  1590. DSTSetup:RegistryStringStart
  1591. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBGroupFile
  1592. Description
  1593. Syntax: AuthDBGroupFile filename
  1594. Context: directory, .htaccess
  1595. Override: AuthConfig
  1596. Status: Extension
  1597. Module: mod_auth_db
  1598.  
  1599.  
  1600.  
  1601. The AuthDBGroupFile directive sets the name of a DB file containing the list of
  1602. user groups for user authentication. Filename is the absolute path to the group
  1603. file.
  1604.  
  1605. The group file is keyed on the username. The value for a user is a
  1606. comma-separated list of the groups to which the users belongs. There must be no
  1607. whitespace within the value, and it must never contain any colons.
  1608.  
  1609.  
  1610. Security: make sure that the AuthDBGroupFile is stored outside the document tree
  1611. of the web-server; do not put it in the directory that it protects. Otherwise,
  1612. clients will be able to download the AuthDBGroupFile unless otherwise protected.
  1613.  
  1614.  
  1615. Combining Group and Password DB files: In some cases it is easier to manage a
  1616. single database which contains both the password and group details for each
  1617. user. This simplifies any support programs that need to be written: they now
  1618. only have to deal with writing to and locking a single DBM file. This can be
  1619. accomplished by first setting the group and password files to point to the same
  1620. DB file:
  1621.  
  1622.  
  1623.     AuthDBGroupFile /www/userbase
  1624.     AuthDBUserFile /www/userbase 
  1625.  
  1626.  
  1627. The key for the single DB record is the username. The value consists of 
  1628.  
  1629.  
  1630.     Unix Crypt-ed Password : List of Groups [ : (ignored) ] 
  1631.  
  1632.  
  1633. The password section contains the Unix crypt() password as before. This is
  1634. followed by a colon and the comma separated list of groups. Other data may
  1635. optionally be left in the DB file after another colon; it is ignored by the
  1636. authentication module. 
  1637.  
  1638.  
  1639. See also AuthName, AuthType and AuthDBUserFile.
  1640. DSTSetup:RegistryStringEnd
  1641.  
  1642. DSTSetup:RegistryValue
  1643. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBGroupFile
  1644. Default
  1645. REG_SZ
  1646.  
  1647.  
  1648. DSTSetup:RegistryValue
  1649. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBGroupFile
  1650. Parent
  1651. REG_DWORD
  1652. 0
  1653.  
  1654. DSTSetup:RegistryKey
  1655. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMAuthoritative
  1656.  
  1657. DSTSetup:RegistryStringStart
  1658. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMAuthoritative
  1659. Description
  1660. Syntax: AuthDBMAuthoritative < on(default) | off > 
  1661. Context: directory, .htaccess
  1662. Override: AuthConfig
  1663. Status: Base
  1664. Module: mod_auth
  1665.  
  1666.  
  1667.  
  1668. Setting the AuthDBMAuthoritative directive explicitly to 'off' allows for both
  1669. authentication and authorization to be passed on to lower level modules (as
  1670. defined in the Configuration and modules.c file if there is no userID or rule
  1671. matching the supplied userID. If there is a userID and/or rule specified; the
  1672. usual password and access checks will be applied and a failure will give an
  1673. Authorization Required reply. 
  1674.  
  1675.  
  1676. So if a userID appears in the database of more than one module; or if a valid
  1677. require directive applies to more than one module; then the first module will
  1678. verify the credentials; and no access is passed on; regardless of the
  1679. AuthAuthoritative setting. 
  1680.  
  1681.  
  1682. A common use for this is in conjunction with one of the basic auth modules; such
  1683. as mod_auth.c. Whereas this DBM module supplies the bulk of the user credential
  1684. checking; a few (administrator) related accesses fall through to a lower level
  1685. with a well protected .htpasswd file. 
  1686.  
  1687. Default: By default; control is not passed on; and an unknown userID or rule
  1688. will result in an Authorization Required reply. Not setting it thus keeps the
  1689. system secure; and forces an NCSA compliant behaviour. 
  1690.  
  1691.  
  1692. Security: Do consider the implications of allowing a user to allow fall-through
  1693. in his .htaccess file; and verify that this is really what you want; Generally
  1694. it is easier to just secure a single .htpasswd file, than it is to secure a
  1695. database which might have more access interfaces. 
  1696.  
  1697.  
  1698. See also AuthName, AuthType and AuthDBMGroupFile.
  1699. DSTSetup:RegistryStringEnd
  1700.  
  1701. DSTSetup:RegistryValue
  1702. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMAuthoritative
  1703. Default
  1704. REG_SZ
  1705.  
  1706.  
  1707. DSTSetup:RegistryValue
  1708. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMAuthoritative
  1709. Parent
  1710. REG_DWORD
  1711. 0
  1712.  
  1713. DSTSetup:RegistryKey
  1714. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMGroupFile
  1715.  
  1716. DSTSetup:RegistryStringStart
  1717. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMGroupFile
  1718. Description
  1719. Syntax: AuthDBMGroupFile filename
  1720. Context: directory, .htaccess
  1721. Override: AuthConfig
  1722. Status: Extension
  1723. Module: mod_auth_dbm
  1724.  
  1725.  
  1726.  
  1727. The AuthDBMGroupFile directive sets the name of a DBM file containing the list
  1728. of user groups for user authentication. Filename is the absolute path to the
  1729. group file.
  1730.  
  1731.  
  1732. The group file is keyed on the username. The value for a user is a
  1733. comma-separated list of the groups to which the users belongs. There must be no
  1734. whitespace within the value, and it must never contain any colons.
  1735.  
  1736. Security: make sure that the AuthDBMGroupFile is stored outside the document
  1737. tree of the web-server; do not put it in the directory that it protects.
  1738. Otherwise, clients will be able to download the AuthDBMGroupFile unless
  1739. otherwise protected.
  1740.  
  1741.  
  1742. Combining Group and Password DBM files: In some cases it is easier to manage a
  1743. single database which contains both the password and group details for each
  1744. user. This simplifies any support programs that need to be written: they now
  1745. only have to deal with writing to and locking a single DBM file. This can be
  1746. accomplished by first setting the group and password files to point to the same
  1747. DBM:
  1748.  
  1749.  
  1750.     AuthDBMGroupFile /www/userbase
  1751.     AuthDBMUserFile /www/userbase 
  1752.  
  1753.  
  1754. The key for the single DBM is the username. The value consists of 
  1755.  
  1756.  
  1757.  
  1758.     Unix Crypt-ed Password : List of Groups [ : (ignored) ] 
  1759.  
  1760. The password section contains the Unix crypt() password as before. This is
  1761. followed by a colon and the comma separated list of groups. Other data may
  1762. optionally be left in the DBM file after another colon; it is ignored by the
  1763. authentication module. This is what www.telescope.org uses for its combined
  1764. password and group database. 
  1765.  
  1766.  
  1767. See also AuthName, AuthType and AuthDBMUserFile.
  1768. DSTSetup:RegistryStringEnd
  1769.  
  1770. DSTSetup:RegistryValue
  1771. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMGroupFile
  1772. Default
  1773. REG_SZ
  1774.  
  1775.  
  1776. DSTSetup:RegistryValue
  1777. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMGroupFile
  1778. Parent
  1779. REG_DWORD
  1780. 0
  1781.  
  1782. DSTSetup:RegistryKey
  1783. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMUserFile
  1784.  
  1785. DSTSetup:RegistryStringStart
  1786. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMUserFile
  1787. Description
  1788. Syntax: AuthDBMUserFile filename
  1789. Context: directory, .htaccess
  1790. Override: AuthConfig
  1791. Status: Extension
  1792. Module: mod_auth_dbm
  1793.  
  1794.  
  1795.  
  1796. The AuthDBMUserFile directive sets the name of a DBM file containing the list of
  1797. users and passwords for user authentication. Filename is the absolute path to
  1798. the user file.
  1799.  
  1800. The user file is keyed on the username. The value for a user is the crypt()
  1801. encrypted password, optionally followed by a colon and arbitrary data. The colon
  1802. and the data following it will be ignored by the server.
  1803.  
  1804.  
  1805. Security: make sure that the AuthDBMUserFile is stored outside the document tree
  1806. of the web-server; do not put it in the directory that it protects. Otherwise,
  1807. clients will be able to download the AuthDBMUserFile.
  1808.  
  1809.  
  1810. Important compatibility note: The implementation of "dbmopen" in the apache
  1811. modules reads the string length of the hashed values from the DBM data
  1812. structures, rather than relying upon the string being NULL-appended. Some
  1813. applications, such as the Netscape web server, rely upon the string being
  1814. NULL-appended, so if you are having trouble using DBM files interchangeably
  1815. between applications this may be a part of the problem. 
  1816.  
  1817.  
  1818. See also AuthName, AuthType and AuthDBMGroupFile.
  1819. DSTSetup:RegistryStringEnd
  1820.  
  1821. DSTSetup:RegistryValue
  1822. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMUserFile
  1823. Default
  1824. REG_SZ
  1825.  
  1826.  
  1827. DSTSetup:RegistryValue
  1828. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMUserFile
  1829. Parent
  1830. REG_DWORD
  1831. 0
  1832.  
  1833. DSTSetup:RegistryKey
  1834. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBUserFile
  1835.  
  1836. DSTSetup:RegistryStringStart
  1837. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBUserFile
  1838. Description
  1839. Syntax: AuthDBUserFile filename
  1840. Context: directory, .htaccess
  1841. Override: AuthConfig
  1842. Status: Extension
  1843. Module: mod_auth_db
  1844.  
  1845.  
  1846. The AuthDBUserFile directive sets the name of a DB file containing the list of
  1847. users and passwords for user authentication. Filename is the absolute path to
  1848. the user file.
  1849.  
  1850.  
  1851. The user file is keyed on the username. The value for a user is the crypt()
  1852. encrypted password, optionally followed by a colon and arbitrary data. The colon
  1853. and the data following it will be ignored by the server.
  1854.  
  1855.  
  1856. Security: make sure that the AuthDBUserFile is stored outside the document tree
  1857. of the web-server; do not put it in the directory that it protects. Otherwise,
  1858. clients will be able to download the AuthDBUserFile.
  1859.  
  1860.  
  1861. Important compatibility note: The implementation of "dbmopen" in the apache
  1862. modules reads the string length of the hashed values from the DB data
  1863. structures, rather than relying upon the string being NULL-appended. Some
  1864. applications, such as the Netscape web server, rely upon the string being
  1865. NULL-appended, so if you are having trouble using DB files interchangeably
  1866. between applications this may be a part of the problem. 
  1867.  
  1868.  
  1869. See also AuthName, AuthType and AuthDBGroupFile.
  1870. DSTSetup:RegistryStringEnd
  1871.  
  1872. DSTSetup:RegistryValue
  1873. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBUserFile
  1874. Default
  1875. REG_SZ
  1876.  
  1877.  
  1878. DSTSetup:RegistryValue
  1879. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBUserFile
  1880. Parent
  1881. REG_DWORD
  1882. 0
  1883.  
  1884. DSTSetup:RegistryKey
  1885. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDigestFile
  1886.  
  1887. DSTSetup:RegistryStringStart
  1888. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDigestFile
  1889. Description
  1890. Syntax: AuthDigestFile filename
  1891. Context: directory, .htaccess
  1892. Override: AuthConfig
  1893. Status: Base
  1894. Module: mod_digest
  1895.  
  1896.  
  1897.  
  1898. The AuthDigestFile directive sets the name of a textual file containing the list
  1899. of users and encoded passwords for digest authentication. Filename is the
  1900. absolute path to the user file.
  1901.  
  1902.  
  1903. The digest file uses a special format. Files in this format can be created using
  1904. the "htdigest" utility found in the support/ subdirectory of the Apache
  1905. distribution.
  1906.  
  1907. Using Digest Authentication
  1908.  
  1909. Using MD5 Digest authentication is very simple. Simply set up authentication
  1910. normally. However, use "AuthType Digest" and "AuthDigestFile" instead of the
  1911. normal "AuthType Basic" and "AuthUserFile". Everything else should remain the
  1912. same.
  1913.  
  1914. MD5 authentication provides a more secure password system, but only works with
  1915. supporting browsers. As of this writing (July 1996), the majority of browsers do
  1916. not support digest authentication. Therefore, we do not recommend using this
  1917. feature on a large Internet site. However, for personal and intra-net use, where
  1918. browser users can be controlled, it is ideal.
  1919. DSTSetup:RegistryStringEnd
  1920.  
  1921. DSTSetup:RegistryValue
  1922. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDigestFile
  1923. Default
  1924. REG_SZ
  1925.  
  1926.  
  1927. DSTSetup:RegistryValue
  1928. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDigestFile
  1929. Parent
  1930. REG_DWORD
  1931. 0
  1932.  
  1933. DSTSetup:RegistryKey
  1934. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthGroupFile
  1935.  
  1936. DSTSetup:RegistryStringStart
  1937. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthGroupFile
  1938. Description
  1939. Syntax: AuthGroupFile filename
  1940. Context: directory, .htaccess
  1941. Override: AuthConfig
  1942. Status: Base
  1943. Module: mod_auth
  1944.  
  1945.  
  1946.  
  1947. The AuthGroupFile directive sets the name of a textual file containing the list
  1948. of user groups for user authentication. Filename is the path to the group file.
  1949. If it is not absolute (i.e., if it doesn't begin with a slash), it is treated as
  1950. relative to the ServerRoot. 
  1951.  
  1952.  
  1953. Each line of the group file contains a groupname followed by a colon, followed
  1954. by the member usernames separated by spaces. Example: 
  1955.  
  1956.     mygroup: bob joe anne
  1957.  
  1958.  
  1959. Note that searching large text files is very inefficient; AuthDBMGroupFile
  1960. should be used instead.
  1961.  
  1962.  
  1963. Security: make sure that the AuthGroupFile is stored outside the document tree
  1964. of the web-server; do not put it in the directory that it protects. Otherwise,
  1965. clients will be able to download the AuthGroupFile.
  1966.  
  1967.  
  1968. See also AuthName, AuthType and AuthUserFile.
  1969. DSTSetup:RegistryStringEnd
  1970.  
  1971. DSTSetup:RegistryValue
  1972. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthGroupFile
  1973. Default
  1974. REG_SZ
  1975.  
  1976.  
  1977. DSTSetup:RegistryValue
  1978. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthGroupFile
  1979. Parent
  1980. REG_DWORD
  1981. 0
  1982.  
  1983. DSTSetup:RegistryKey
  1984. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthName
  1985.  
  1986. DSTSetup:RegistryStringStart
  1987. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthName
  1988. Description
  1989. Syntax: AuthName auth-domain
  1990. Context: directory, .htaccess
  1991. Override: AuthConfig
  1992. Status: core
  1993.  
  1994.  
  1995.  
  1996. This directive sets the name of the authorization realm for a directory. This
  1997. realm is given to the client so that the user knows which username and password
  1998. to send. It must be accompanied by AuthType and require directives, and
  1999. directives such as AuthUserFile and AuthGroupFile to work.
  2000. DSTSetup:RegistryStringEnd
  2001.  
  2002. DSTSetup:RegistryValue
  2003. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthName
  2004. Default
  2005. REG_SZ
  2006.  
  2007.  
  2008. DSTSetup:RegistryValue
  2009. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthName
  2010. Parent
  2011. REG_DWORD
  2012. 0
  2013.  
  2014. DSTSetup:RegistryKey
  2015. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthType
  2016.  
  2017. DSTSetup:RegistryStringStart
  2018. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthType
  2019. Description
  2020. Syntax: AuthType type
  2021. Context: directory, .htaccess
  2022. Override: AuthConfig
  2023. Status: core
  2024.  
  2025.  
  2026. This directive selects the type of user authentication for a directory. Only 
  2027. Basic and Digest are currently implemented. It must be accompanied by AuthName
  2028. and require directives, and directives such as AuthUserFile and AuthGroupFile to
  2029. work.
  2030. DSTSetup:RegistryStringEnd
  2031.  
  2032. DSTSetup:RegistryValue
  2033. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthType
  2034. Default
  2035. REG_SZ
  2036.  
  2037.  
  2038. DSTSetup:RegistryValue
  2039. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthType
  2040. Parent
  2041. REG_DWORD
  2042. 0
  2043.  
  2044. DSTSetup:RegistryKey
  2045. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthUserFile
  2046.  
  2047. DSTSetup:RegistryStringStart
  2048. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthUserFile
  2049. Description
  2050. Syntax: AuthUserFile filename
  2051. Context: directory, .htaccess
  2052. Override: AuthConfig
  2053. Status: Base
  2054. Module: mod_auth
  2055.  
  2056.  
  2057.  
  2058. The AuthUserFile directive sets the name of a textual file containing the list
  2059. of users and passwords for user authentication. Filename is the path to the user
  2060. file. If it is not absolute (i.e., if it doesn't begin with a slash), it is
  2061. treated as relative to the ServerRoot. 
  2062.  
  2063.  
  2064. Each line of the user file file contains a username followed by a colon,
  2065. followed by the crypt() encrypted password. The behavior of multiple occurrences
  2066. of the same user is undefined. 
  2067.  
  2068.  
  2069. Note that searching large text files is very inefficient; AuthDBMUserFile should
  2070. be used instead. 
  2071.  
  2072.  
  2073. Security: make sure that the AuthUserFile is stored outside the document tree of
  2074. the web-server; do not put it in the directory that it protects. Otherwise,
  2075. clients will be able to download the AuthUserFile.
  2076.  
  2077. See also AuthName, AuthType and AuthGroupFile.
  2078. DSTSetup:RegistryStringEnd
  2079.  
  2080. DSTSetup:RegistryValue
  2081. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthUserFile
  2082. Default
  2083. REG_SZ
  2084.  
  2085.  
  2086. DSTSetup:RegistryValue
  2087. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthUserFile
  2088. Parent
  2089. REG_DWORD
  2090. 0
  2091.  
  2092. DSTSetup:RegistryKey
  2093. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BindAddress
  2094.  
  2095. DSTSetup:RegistryStringStart
  2096. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BindAddress
  2097. Description
  2098. Syntax: BindAddress saddr
  2099. Default: BindAddress *
  2100. Context: server config
  2101. Status: core
  2102.  
  2103.  
  2104.  
  2105. A Unix« http server can either listen for connections to every IP address of the
  2106. server machine, or just one IP address of the server machine. Saddr can be 
  2107.  
  2108.     * 
  2109.   *
  2110.     An IP address 
  2111.   *
  2112.     A fully-qualified Internet domain name 
  2113.   *
  2114.  
  2115. If the value is *, then the server will listen for connections on every IP
  2116. address, otherwise it will only listen on the IP address specified. 
  2117.  
  2118.  
  2119. Only one BindAddress directive can be used. For more control over which address
  2120. and ports Apache listens to, use the Listen directive instead of BindAddress.
  2121.  
  2122.  
  2123. BindAddress can be used as an alternative method for supporting virtual hosts
  2124. using multiple independent servers, instead of using <VirtualHost> sections. 
  2125.  
  2126.  
  2127. See Also: DNS Issues
  2128. See Also: Setting which addresses and ports Apache uses
  2129. DSTSetup:RegistryStringEnd
  2130.  
  2131. DSTSetup:RegistryValue
  2132. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BindAddress
  2133. Default
  2134. REG_SZ
  2135. *
  2136.  
  2137. DSTSetup:RegistryValue
  2138. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BindAddress
  2139. Parent
  2140. REG_DWORD
  2141. 0
  2142.  
  2143. DSTSetup:RegistryKey
  2144. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BrowserMatch
  2145.  
  2146. DSTSetup:RegistryStringStart
  2147. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BrowserMatch
  2148. Description
  2149. Syntax: BrowserMatch regex envar[=value] [...] 
  2150. Default: none 
  2151. Context: server config 
  2152. Override: none 
  2153. Status: Base 
  2154. Module: mod_setenvif 
  2155.  
  2156. Compatibility: Apache 1.2 and above (in Apache 1.2 this directive was found in
  2157. the now-obsolete mod_browser module) 
  2158.  
  2159.  
  2160. The BrowserMatch directive defines environment variables based on the User-Agent
  2161. HTTP request header field. The first argument should be a POSIX.2 extended
  2162. regular expression (similar to an egrep-style regex). The rest of the arguments
  2163. give the names of variables to set, and optionally values to which they should
  2164. be set. These take the form of 
  2165.  
  2166.  
  2167.  1. varname, or 
  2168.  
  2169.  2. !varname, or 
  2170.  
  2171.  3. varname=value 
  2172.  
  2173. In the first form, the value will be set to "1". The second will remove the
  2174. given variable if already defined, and the third will set the variable to the
  2175. value given by value. If a User-Agent string matches more than one entry, they
  2176. will be merged. Entries are processed in the order in which they appear, and
  2177. later entries can override earlier ones. 
  2178.  
  2179.  
  2180. For example: 
  2181.  
  2182.  
  2183.  
  2184.     BrowserMatch ^Mozilla forms jpeg=yes browser=netscape
  2185.     BrowserMatch "^Mozilla/[2-3]" tables agif frames javascript
  2186.     BrowserMatch MSIE !javascript
  2187.   
  2188.  
  2189.  
  2190. Note that the regular expression string is case-sensitive. For cane-INsensitive
  2191. matching, see the BrowserMatchNoCase directive. 
  2192.  
  2193.  
  2194. The BrowserMatch and BrowserMatchNoCase directives are special cases of the 
  2195. SetEnvIf and SetEnvIfNoCase directives. The following two lines have the same
  2196. effect: 
  2197.  
  2198.  
  2199.    BrowserMatchNoCase Robot is_a_robot
  2200.    SetEnvIfNoCase User-Agent Robot is_a_robot
  2201.   
  2202. DSTSetup:RegistryStringEnd
  2203.  
  2204. DSTSetup:RegistryValue
  2205. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BrowserMatch
  2206. Default
  2207. REG_SZ
  2208.  
  2209.  
  2210. DSTSetup:RegistryValue
  2211. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BrowserMatch
  2212. Parent
  2213. REG_DWORD
  2214. 0
  2215.  
  2216. DSTSetup:RegistryKey
  2217. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BrowserMatchNoCase
  2218.  
  2219. DSTSetup:RegistryStringStart
  2220. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BrowserMatchNoCase
  2221. Description
  2222. Syntax: BrowserMatchNoCase regex envar[=value] [...] 
  2223. Default: none 
  2224. Context: server config 
  2225. Override: none 
  2226. Status: Base 
  2227. Module: mod_setenvif 
  2228.  
  2229. Compatibility: Apache 1.2 and above (in Apache 1.2 this directive was found in
  2230. the now-obsolete mod_browser module) 
  2231.  
  2232. The BrowserMatchNoCase directive is semantically identical to the BrowserMatch
  2233. directive. However, it provides for case-insensitive matching. For example: 
  2234.  
  2235.  
  2236.  
  2237.     BrowserMatchNoCase mac platform=macintosh
  2238.     BrowserMatchNoCase win platform=windows
  2239.   
  2240.  
  2241.  
  2242. The BrowserMatch and BrowserMatchNoCase directives are special cases of the 
  2243. SetEnvIf and SetEnvIfNoCase directives. The following two lines have the same
  2244. effect: 
  2245.  
  2246.  
  2247.  
  2248.    BrowserMatchNoCase Robot is_a_robot
  2249.    SetEnvIfNoCase User-Agent Robot is_a_robot
  2250.   
  2251. DSTSetup:RegistryStringEnd
  2252.  
  2253. DSTSetup:RegistryValue
  2254. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BrowserMatchNoCase
  2255. Default
  2256. REG_SZ
  2257.  
  2258.  
  2259. DSTSetup:RegistryValue
  2260. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BrowserMatchNoCase
  2261. Parent
  2262. REG_DWORD
  2263. 0
  2264.  
  2265. DSTSetup:RegistryKey
  2266. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BS2000Account
  2267.  
  2268. DSTSetup:RegistryStringStart
  2269. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BS2000Account
  2270. Description
  2271. Syntax: BS2000Account account
  2272. Default: none
  2273. Context: server config
  2274. Status: core
  2275.  
  2276. Compatibility: BS2000Account is only available for BS2000 machines, as of Apache
  2277. 1.3 and later.
  2278.  
  2279.  
  2280. The BS2000Account directive is available for BS2000 hosts only. It must be used
  2281. to define the account number for the non-privileged apache server user (which
  2282. was configured using the User directive). This is required by the BS2000 POSIX
  2283. subsystem (to change the underlying BS2000 task environment by performing a
  2284. sub-LOGON) to prevent CGI scripts from accessing resources of the privileged
  2285. account which started the server, usually SYSROOT.
  2286. Only one BS2000Account directive can be used. 
  2287.  
  2288.  
  2289. See Also: Apache EBCDIC port
  2290. DSTSetup:RegistryStringEnd
  2291.  
  2292. DSTSetup:RegistryValue
  2293. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BS2000Account
  2294. Default
  2295. REG_SZ
  2296.  
  2297.  
  2298. DSTSetup:RegistryValue
  2299. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\BS2000Account
  2300. Parent
  2301. REG_DWORD
  2302. 0
  2303.  
  2304. DSTSetup:RegistryKey
  2305. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDefaultExpire
  2306.  
  2307. DSTSetup:RegistryStringStart
  2308. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDefaultExpire
  2309. Description
  2310. Syntax: CacheDefaultExpire <time>
  2311. Default: CacheDefaultExpire 1
  2312. Context: server config, virtual host
  2313. Override: Not applicable
  2314. Status: Base
  2315. Module: mod_proxy
  2316.  
  2317. Compatibility: CacheDefaultExpire is only available in Apache 1.1 and later.
  2318.  
  2319.  
  2320. If the document is fetched via a protocol that does not support expiry times,
  2321. then use <time> hours as the expiry time. CacheMaxExpire does not override this
  2322. setting. 
  2323. DSTSetup:RegistryStringEnd
  2324.  
  2325. DSTSetup:RegistryValue
  2326. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDefaultExpire
  2327. Default
  2328. REG_SZ
  2329. 1
  2330.  
  2331. DSTSetup:RegistryValue
  2332. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDefaultExpire
  2333. Parent
  2334. REG_DWORD
  2335. 0
  2336.  
  2337. DSTSetup:RegistryKey
  2338. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDirLength
  2339.  
  2340. DSTSetup:RegistryStringStart
  2341. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDirLength
  2342. Description
  2343. Syntax: CacheDirLength <length>
  2344. Default: CacheDirLength 1
  2345. Context: server config, virtual host
  2346. Override: Not applicable
  2347. Status: Base
  2348. Module: mod_proxy
  2349.  
  2350. Compatibility: CacheDirLength is only available in Apache 1.1 and later.
  2351.  
  2352.  
  2353. CacheDirLength sets the number of characters in proxy cache subdirectory names. 
  2354. DSTSetup:RegistryStringEnd
  2355.  
  2356. DSTSetup:RegistryValue
  2357. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDirLength
  2358. Default
  2359. REG_SZ
  2360. 1
  2361.  
  2362. DSTSetup:RegistryValue
  2363. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDirLength
  2364. Parent
  2365. REG_DWORD
  2366. 0
  2367.  
  2368. DSTSetup:RegistryKey
  2369. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDirLevels
  2370.  
  2371. DSTSetup:RegistryStringStart
  2372. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDirLevels
  2373. Description
  2374. Syntax: CacheDirLevels <levels>
  2375. Default: CacheDirLevels 3
  2376. Context: server config, virtual host
  2377. Override: Not applicable
  2378. Status: Base
  2379. Module: mod_proxy
  2380.  
  2381. Compatibility: CacheDirLevels is only available in Apache 1.1 and later.
  2382.  
  2383.  
  2384. CacheDirLevels sets the number of levels of subdirectories in the cache. Cached
  2385. data will be saved this many directory levels below CacheRoot. 
  2386. DSTSetup:RegistryStringEnd
  2387.  
  2388. DSTSetup:RegistryValue
  2389. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDirLevels
  2390. Default
  2391. REG_SZ
  2392. 3
  2393.  
  2394. DSTSetup:RegistryValue
  2395. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDirLevels
  2396. Parent
  2397. REG_DWORD
  2398. 0
  2399.  
  2400. DSTSetup:RegistryKey
  2401. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheForceCompletion
  2402.  
  2403. DSTSetup:RegistryStringStart
  2404. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheForceCompletion
  2405. Description
  2406. Syntax: CacheForceCompletion <percentage>
  2407. Default: 90
  2408. Context: server config, virtual host
  2409. Override: Not applicable
  2410. Status: Base
  2411. Module: mod_proxy
  2412.  
  2413. Compatibility: CacheForceCompletion is only available in Apache 1.3.1 and later.
  2414.  
  2415.  
  2416. If an http transfer that is being cached is cancelled, the proxy module will
  2417. complete the transfer to cache if more than the percentage specified has already
  2418. been transferred.
  2419.  
  2420. This is a percentage, and must be a number between 1 and 100, or 0 to use the
  2421. default. 100 will cause a document to be cached only if the transfer was allowed
  2422. to complete. A number between 60 and 90 is recommended. 
  2423. DSTSetup:RegistryStringEnd
  2424.  
  2425. DSTSetup:RegistryValue
  2426. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheForceCompletion
  2427. Default
  2428. REG_SZ
  2429.  
  2430.  
  2431. DSTSetup:RegistryValue
  2432. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheForceCompletion
  2433. Parent
  2434. REG_DWORD
  2435. 0
  2436.  
  2437. DSTSetup:RegistryKey
  2438. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheGcInterval
  2439.  
  2440. DSTSetup:RegistryStringStart
  2441. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheGcInterval
  2442. Description
  2443. Syntax: CacheGcInterval <time>
  2444. Default: None
  2445. Context: server config, virtual host
  2446. Override: Not applicable
  2447. Status: Base
  2448. Module: mod_proxy
  2449.  
  2450. Compatibility: CacheGcinterval is only available in Apache 1.1 and later.
  2451.  
  2452.  
  2453. Check the cache every <time> hours, and delete files if the space usage is
  2454. greater than that set by CacheSize. Note that <time> accepts a float value, you
  2455. could for example use CacheGcInterval 1.5 to check the cache every 90 minutes.
  2456. (If unset, no garbage collection will be performed, and the cache will grow
  2457. indefinitely.) Note also that the larger the CacheGcInterval, the more extra
  2458. space beyond the configured CacheSize will be needed for the cache between
  2459. garbage collections.
  2460. DSTSetup:RegistryStringEnd
  2461.  
  2462. DSTSetup:RegistryValue
  2463. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheGcInterval
  2464. Default
  2465. REG_SZ
  2466.  
  2467.  
  2468. DSTSetup:RegistryValue
  2469. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheGcInterval
  2470. Parent
  2471. REG_DWORD
  2472. 0
  2473.  
  2474. DSTSetup:RegistryKey
  2475. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheLastModifiedFactor
  2476.  
  2477. DSTSetup:RegistryStringStart
  2478. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheLastModifiedFactor
  2479. Description
  2480. Syntax: CacheLastModifiedFactor <factor>
  2481. Default: CacheLastModifiedFactor 0.1
  2482. Context: server config, virtual host
  2483. Override: Not applicable
  2484. Status: Base
  2485. Module: mod_proxy
  2486.  
  2487. Compatibility: CacheLastModifiedFactor is only available in Apache 1.1 and
  2488. later.
  2489.  
  2490.  
  2491. If the origin HTTP server did not supply an expiry date for the document, then
  2492. estimate one using the formula 
  2493.  
  2494.  
  2495.  
  2496.   expiry-period = time-since-last-modification * <factor>
  2497.  
  2498. For example, if the document was last modified 10 hours ago, and <factor> is
  2499. 0.1, then the expiry period will be set to 10*0.1 = 1 hour. 
  2500.  
  2501.  
  2502. If the expiry-period would be longer than that set by CacheMaxExpire, then the
  2503. latter takes precedence. 
  2504. DSTSetup:RegistryStringEnd
  2505.  
  2506. DSTSetup:RegistryValue
  2507. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheLastModifiedFactor
  2508. Default
  2509. REG_SZ
  2510. 0.1
  2511.  
  2512. DSTSetup:RegistryValue
  2513. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheLastModifiedFactor
  2514. Parent
  2515. REG_DWORD
  2516. 0
  2517.  
  2518. DSTSetup:RegistryKey
  2519. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheMaxExpire
  2520.  
  2521. DSTSetup:RegistryStringStart
  2522. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheMaxExpire
  2523. Description
  2524. Syntax: CacheMaxExpire <time>
  2525. Default: CacheMaxExpire 24
  2526. Context: server config, virtual host
  2527. Override: Not applicable
  2528. Status: Base
  2529. Module: mod_proxy
  2530.  
  2531. Compatibility: CacheMaxExpire is only available in Apache 1.1 and later.
  2532.  
  2533.  
  2534. Cachable HTTP documents will be retained for at most <time> hours without
  2535. checking the origin server. Thus documents can be at most <time> hours out of
  2536. date. This restriction is enforced even if an expiry date was supplied with the
  2537. document. 
  2538. DSTSetup:RegistryStringEnd
  2539.  
  2540. DSTSetup:RegistryValue
  2541. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheMaxExpire
  2542. Default
  2543. REG_SZ
  2544. 24
  2545.  
  2546. DSTSetup:RegistryValue
  2547. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheMaxExpire
  2548. Parent
  2549. REG_DWORD
  2550. 0
  2551.  
  2552. DSTSetup:RegistryKey
  2553. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheNegotiatedDocs
  2554.  
  2555. DSTSetup:RegistryStringStart
  2556. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheNegotiatedDocs
  2557. Description
  2558. Syntax: CacheNegotiatedDocs
  2559. Context: server config
  2560. Status: Base
  2561. Module: mod_negotiation
  2562.  
  2563. Compatibility: CacheNegotiatedDocs is only available in Apache 1.1 and later.
  2564.  
  2565. If set, this directive allows content-negotiated documents to be cached by proxy
  2566. servers. This could mean that clients behind those proxys could retrieve
  2567. versions of the documents that are not the best match for their abilities, but
  2568. it will make caching more efficient. 
  2569.  
  2570.  
  2571. This directive only applies to requests which come from HTTP/1.0 browsers.
  2572. HTTP/1.1 provides much better control over the caching of negotiated documents,
  2573. and this directive has no effect in responses to HTTP/1.1 requests. 
  2574. DSTSetup:RegistryStringEnd
  2575.  
  2576. DSTSetup:RegistryValue
  2577. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheNegotiatedDocs
  2578. Default
  2579. REG_SZ
  2580.  
  2581.  
  2582. DSTSetup:RegistryValue
  2583. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheNegotiatedDocs
  2584. Parent
  2585. REG_DWORD
  2586. 0
  2587.  
  2588. DSTSetup:RegistryKey
  2589. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheRoot
  2590.  
  2591. DSTSetup:RegistryStringStart
  2592. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheRoot
  2593. Description
  2594. Syntax: CacheRoot <directory>
  2595. Default: None
  2596. Context: server config, virtual host
  2597. Override: Not applicable
  2598. Status: Base
  2599. Module: mod_proxy
  2600.  
  2601. Compatibility: CacheRoot is only available in Apache 1.1 and later.
  2602.  
  2603.  
  2604. Sets the name of the directory to contain cache files; this must be writable by
  2605. the httpd server. (see the User directive).
  2606. Setting CacheRoot enables proxy cacheing; without defining a CacheRoot, proxy
  2607. functionality will be available if ProxyRequests are set to On, but no cacheing
  2608. will be available. 
  2609. DSTSetup:RegistryStringEnd
  2610.  
  2611. DSTSetup:RegistryValue
  2612. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheRoot
  2613. Default
  2614. REG_SZ
  2615.  
  2616.  
  2617. DSTSetup:RegistryValue
  2618. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheRoot
  2619. Parent
  2620. REG_DWORD
  2621. 0
  2622.  
  2623. DSTSetup:RegistryKey
  2624. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheSize
  2625.  
  2626. DSTSetup:RegistryStringStart
  2627. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheSize
  2628. Description
  2629. Syntax: CacheSize <size>
  2630. Default: CacheSize 5
  2631. Context: server config, virtual host
  2632. Override: Not applicable
  2633. Status: Base
  2634. Module: mod_proxy
  2635.  
  2636. Compatibility: CacheSize is only available in Apache 1.1 and later.
  2637.  
  2638.  
  2639. Sets the desired space usage of the cache, in KB (1024-byte units). Although
  2640. usage may grow above this setting, the garbage collection will delete files
  2641. until the usage is at or below this setting.
  2642. Depending on the expected proxy traffic volume and CacheGcInterval, use a value
  2643. which is at least 20 to 40 % lower than the available space. 
  2644. DSTSetup:RegistryStringEnd
  2645.  
  2646. DSTSetup:RegistryValue
  2647. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheSize
  2648. Default
  2649. REG_SZ
  2650. 5
  2651.  
  2652. DSTSetup:RegistryValue
  2653. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheSize
  2654. Parent
  2655. REG_DWORD
  2656. 0
  2657.  
  2658. DSTSetup:RegistryKey
  2659. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CheckSpelling
  2660.  
  2661. DSTSetup:RegistryStringStart
  2662. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CheckSpelling
  2663. Description
  2664. Syntax: CheckSpelling on/off
  2665. Default: CheckSpelling Off
  2666. Context: server config, virtual host, directory, .htaccess
  2667. Override: Options 
  2668. Status: Base
  2669. Module: mod_speling
  2670.  
  2671. Compatibility: CheckSpelling was available as a separately available module for
  2672. Apache 1.1, but was limited to miscapitalizations. As of Apache 1.3, it is part
  2673. of the Apache distribution. Prior to Apache 1.3.2, the CheckSpelling directive
  2674. was only available in the "server" and "virtual host" contexts. 
  2675.  
  2676.  
  2677. This directive enables or disables the spelling module. When enabled, keep in
  2678. mind that 
  2679.  
  2680.  
  2681.   * the directory scan which is necessary for the spelling correction will have
  2682.     an impact on the server's performance when many spelling corrections have to
  2683.     be performed at the same time. 
  2684.  
  2685.   * the document trees should not contain sensitive files which could be matched
  2686.     inadvertently by a spelling "correction". 
  2687.  
  2688.   * the module is unable to correct misspelled user names (as in 
  2689.     http://my.host/~apahce/), just file names or directory names. 
  2690.  
  2691.   * spelling corrections apply strictly to existing files, so a request for the 
  2692.     <Location /status> may get incorrectly treated as the negotiated file
  2693.     "/stats.html". 
  2694. DSTSetup:RegistryStringEnd
  2695.  
  2696. DSTSetup:RegistryValue
  2697. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CheckSpelling
  2698. Default
  2699. REG_SZ
  2700. Off
  2701.  
  2702. DSTSetup:RegistryValue
  2703. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CheckSpelling
  2704. Parent
  2705. REG_DWORD
  2706. 0
  2707.  
  2708. DSTSetup:RegistryKey
  2709. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ClearModuleList
  2710.  
  2711. DSTSetup:RegistryStringStart
  2712. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ClearModuleList
  2713. Description
  2714. Syntax: ClearModuleList
  2715. Context: server config
  2716. Status: core
  2717.  
  2718. Compatibility: ClearModuleList is only available in Apache 1.2 and later
  2719.  
  2720.  
  2721. The server comes with a built-in list of active modules. This directive clears
  2722. the list. It is assumed that the list will then be re-populated using the 
  2723. AddModule directive.
  2724. DSTSetup:RegistryStringEnd
  2725.  
  2726. DSTSetup:RegistryValue
  2727. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ClearModuleList
  2728. Default
  2729. REG_SZ
  2730.  
  2731.  
  2732. DSTSetup:RegistryValue
  2733. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ClearModuleList
  2734. Parent
  2735. REG_DWORD
  2736. 0
  2737.  
  2738. DSTSetup:RegistryKey
  2739. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ContentDigest
  2740.  
  2741. DSTSetup:RegistryStringStart
  2742. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ContentDigest
  2743. Description
  2744. Syntax: ContentDigest on|off
  2745. Default: ContentDigest off
  2746. Context: server config, virtual host, directory, .htaccess
  2747. Override: AuthConfig
  2748. Status: experimental
  2749.  
  2750.  
  2751. Compatibility: ContentDigest is only available in Apache 1.1 and later
  2752.  
  2753.  
  2754. This directive enables the generation of Content-MD5 headers as defined in
  2755. RFC1864 respectively RFC2068.
  2756.  
  2757.  
  2758. MD5 is an algorithm for computing a "message digest" (sometimes called
  2759. "fingerprint") of arbitrary-length data, with a high degree of confidence that
  2760. any alterations in the data will be reflected in alterations in the message
  2761. digest.
  2762.  
  2763.  
  2764. The Content-MD5 header provides an end-to-end message integrity check (MIC) of
  2765. the entity-body. A proxy or client may check this header for detecting
  2766. accidental modification of the entity-body in transit. Example header: 
  2767.  
  2768.  
  2769.    Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA==
  2770.  
  2771. Note that this can cause performance problems on your server since the message
  2772. digest is computed on every request (the values are not cached).
  2773.  
  2774.  
  2775. Content-MD5 is only sent for documents served by the core, and not by any
  2776. module. For example, SSI documents, output from CGI scripts, and byte range
  2777. responses do not have this header. 
  2778. DSTSetup:RegistryStringEnd
  2779.  
  2780. DSTSetup:RegistryValue
  2781. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ContentDigest
  2782. Default
  2783. REG_SZ
  2784. off
  2785.  
  2786. DSTSetup:RegistryValue
  2787. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ContentDigest
  2788. Parent
  2789. REG_DWORD
  2790. 0
  2791.  
  2792. DSTSetup:RegistryKey
  2793. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieExpires
  2794.  
  2795. DSTSetup:RegistryStringStart
  2796. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieExpires
  2797. Description
  2798. Syntax: CookieExpires expiry-period
  2799. Context: server config, virtual host
  2800. Status: optional
  2801. Module: mod_usertrack
  2802.  
  2803.  
  2804.  
  2805. When used, this directive sets an expiry time on the cookie generated by the
  2806. usertrack module. The expiry-period can be given either as a number of seconds,
  2807. or in the format such as "2 weeks 3 days 7 hours". Valid denominations are:
  2808. years, months, weeks, hours, minutes and seconds. If the expiry time is in any
  2809. format other than one number indicating the number of seconds, it must be
  2810. enclosed by double quotes. 
  2811.  
  2812.  
  2813. If this directive is not used, cookies last only for the current browser
  2814. session.
  2815. DSTSetup:RegistryStringEnd
  2816.  
  2817. DSTSetup:RegistryValue
  2818. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieExpires
  2819. Default
  2820. REG_SZ
  2821.  
  2822.  
  2823. DSTSetup:RegistryValue
  2824. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieExpires
  2825. Parent
  2826. REG_DWORD
  2827. 0
  2828.  
  2829. DSTSetup:RegistryKey
  2830. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieLog
  2831.  
  2832. DSTSetup:RegistryStringStart
  2833. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieLog
  2834. Description
  2835. Syntax: CookieLog filename
  2836. Context: server config, virtual host
  2837. Module: mod_cookies
  2838.  
  2839. Compatibility: Only available in Apache 1.2 and above
  2840.  
  2841.  
  2842. The CookieLog directive sets the filename for logging of cookies. The filename
  2843. is relative to the ServerRoot. This directive is included only for compatibility
  2844. with mod_cookies, and is deprecated. 
  2845. DSTSetup:RegistryStringEnd
  2846.  
  2847. DSTSetup:RegistryValue
  2848. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieLog
  2849. Default
  2850. REG_SZ
  2851.  
  2852.  
  2853. DSTSetup:RegistryValue
  2854. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieLog
  2855. Parent
  2856. REG_DWORD
  2857. 0
  2858.  
  2859. DSTSetup:RegistryKey
  2860. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieTracking
  2861.  
  2862. DSTSetup:RegistryStringStart
  2863. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieTracking
  2864. Description
  2865. Syntax: CookieTracking on | off
  2866. Context: server config, virtual host, directory, .htaccess
  2867. Override: FileInfo
  2868. Status: optional
  2869. Module: mod_usertrack
  2870.  
  2871.  
  2872.  
  2873. When the user track module is compiled in, and "CookieTracking on" is set,
  2874. Apache will start sending a user-tracking cookie for all new requests. This
  2875. directive can be used to turn this behavior on or off on a per-server or
  2876. per-directory basis. By default, compiling mod_usertrack will not activate
  2877. cookies. 
  2878. DSTSetup:RegistryStringEnd
  2879.  
  2880. DSTSetup:RegistryValue
  2881. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieTracking
  2882. Default
  2883. REG_SZ
  2884.  
  2885.  
  2886. DSTSetup:RegistryValue
  2887. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieTracking
  2888. Parent
  2889. REG_DWORD
  2890. 0
  2891.  
  2892. DSTSetup:RegistryKey
  2893. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CoreDumpDirectory
  2894.  
  2895. DSTSetup:RegistryStringStart
  2896. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CoreDumpDirectory
  2897. Description
  2898. Syntax: CoreDumpDirectory directory
  2899. Default: the same location as ServerRoot
  2900. Context: server config
  2901. Status: core
  2902.  
  2903.  
  2904. This controls the directory to which Apache attempts to switch before dumping
  2905. core. The default is in the ServerRoot directory, however since this should not
  2906. be writable by the user the server runs as, core dumps won't normally get
  2907. written. If you want a core dump for debugging, you can use this directive to
  2908. place it in a different location.
  2909. DSTSetup:RegistryStringEnd
  2910.  
  2911. DSTSetup:RegistryValue
  2912. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CoreDumpDirectory
  2913. Default
  2914. REG_SZ
  2915. same location as ServerRoot
  2916.  
  2917. DSTSetup:RegistryValue
  2918. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CoreDumpDirectory
  2919. Parent
  2920. REG_DWORD
  2921. 0
  2922.  
  2923. DSTSetup:RegistryKey
  2924. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CustomLog
  2925.  
  2926. DSTSetup:RegistryStringStart
  2927. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CustomLog
  2928. Description
  2929. Syntax: CustomLog file-pipe format-or-nickname
  2930. Context: server config, virtual host
  2931. Status: Base
  2932.  
  2933. Compatibility: Nickname only available in Apache 1.3 or later 
  2934. Module: mod_log_config 
  2935.  
  2936. The first argument is the filename to which log records should be written. This
  2937. is used exactly like the argument to TransferLog; that is, it is either a full
  2938. path or relative to the current server root. 
  2939.  
  2940.  
  2941. The format argument specifies a format for each line of the log file. The
  2942. options available for the format are exactly the same as for the argument of the
  2943. LogFormat directive. If the format includes any spaces (which it will do in
  2944. almost all cases) it should be enclosed in double quotes. 
  2945.  
  2946.  
  2947. Instead of an actual format string, you can use a format nickname defined with
  2948. the LogFormat directive. 
  2949. DSTSetup:RegistryStringEnd
  2950.  
  2951. DSTSetup:RegistryValue
  2952. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CustomLog
  2953. Default
  2954. REG_SZ
  2955.  
  2956.  
  2957. DSTSetup:RegistryValue
  2958. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CustomLog
  2959. Parent
  2960. REG_DWORD
  2961. 0
  2962.  
  2963. DSTSetup:RegistryKey
  2964. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DefaultIcon
  2965.  
  2966. DSTSetup:RegistryStringStart
  2967. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DefaultIcon
  2968. Description
  2969. Syntax: DefaultIcon url
  2970. Context: server config, virtual host, directory, .htaccess
  2971. Override: Indexes
  2972. Status: Base
  2973. Module: mod_autoindex
  2974.  
  2975.  
  2976. The DefaultIcon directive sets the icon to display for files when no specific
  2977. icon is known, for FancyIndexing. Url is a (%-escaped) relative URL to the icon.
  2978. Examples: 
  2979.  
  2980.  
  2981.     DefaultIcon /icon/unknown.xbm 
  2982. DSTSetup:RegistryStringEnd
  2983.  
  2984. DSTSetup:RegistryValue
  2985. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DefaultIcon
  2986. Default
  2987. REG_SZ
  2988.  
  2989.  
  2990. DSTSetup:RegistryValue
  2991. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DefaultIcon
  2992. Parent
  2993. REG_DWORD
  2994. 0
  2995.  
  2996. DSTSetup:RegistryKey
  2997. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DefaultType
  2998.  
  2999. DSTSetup:RegistryStringStart
  3000. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DefaultType
  3001. Description
  3002. Syntax: DefaultType MIME-type
  3003. Default: DefaultType text/html
  3004. Context: server config, virtual host, directory, .htaccess
  3005. Override: FileInfo
  3006. Status: core
  3007.  
  3008.  
  3009.  
  3010. There will be times when the server is asked to provide a document whose type
  3011. cannot be determined by its MIME types mappings.
  3012.  
  3013.  
  3014. The server must inform the client of the content-type of the document, so in the
  3015. event of an unknown type it uses the DefaultType. For example: 
  3016.  
  3017.     DefaultType image/gif
  3018.  
  3019.  
  3020. would be appropriate for a directory which contained many gif images with
  3021. filenames missing the .gif extension.
  3022. DSTSetup:RegistryStringEnd
  3023.  
  3024. DSTSetup:RegistryValue
  3025. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DefaultType
  3026. Default
  3027. REG_SZ
  3028. text/html
  3029.  
  3030. DSTSetup:RegistryValue
  3031. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DefaultType
  3032. Parent
  3033. REG_DWORD
  3034. 0
  3035.  
  3036. DSTSetup:RegistryKey
  3037. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\deny
  3038.  
  3039. DSTSetup:RegistryStringStart
  3040. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\deny
  3041. Description
  3042. Syntax: deny from host host ...
  3043. Context: directory, .htaccess
  3044. Override: Limit
  3045. Status: Base
  3046. Module: mod_access 
  3047.  
  3048.  
  3049.  
  3050. The deny directive affects which hosts can access a given directory. Host is one
  3051. of the following: 
  3052.  
  3053. all 
  3054.      all hosts are denied access 
  3055.  
  3056.  
  3057. A (partial) domain-name 
  3058.      host whose name is, or ends in, this string are denied access. 
  3059.  
  3060.  
  3061. A full IP address 
  3062.      An IP address of a host denied access 
  3063.  
  3064.  
  3065. A partial IP address 
  3066.      The first 1 to 3 bytes of an IP address, for subnet restriction. 
  3067.  
  3068.  
  3069. A network/netmask pair (Apache 1.3 and later) 
  3070.      A network a.b.c.d, and a netmask w.x.y.z. For more fine-grained subnet
  3071.      restriction. (i.e., 10.1.0.0/255.255.0.0) 
  3072.  
  3073. A network/nnn CIDR specification (Apache 1.3 and later) 
  3074.      Similar to the previous case, except the netmask consists of nnn high-order
  3075.      1 bits. (i.e., 10.1.0.0/16 is the same as 10.1.0.0/255.255.0.0) 
  3076.  
  3077.  
  3078. Example: 
  3079.  
  3080.  
  3081.     deny from 16
  3082.  
  3083.  
  3084. All hosts in the specified network are denied access. 
  3085.  
  3086.  
  3087. Note that this compares whole components; bar.edu would not match foobar.edu. 
  3088.  
  3089. See also allow and order. 
  3090.  
  3091.  
  3092. Syntax: deny from env=variablename
  3093. Context: directory, .htaccess
  3094. Override: Limit
  3095. Status: Base
  3096. Module: mod_access
  3097. Compatibility: Apache 1.2 and above 
  3098.  
  3099.  
  3100. The deny from env directive controls access to a directory by the existence (or
  3101. non-existence) of an environment variable. 
  3102.  
  3103.  
  3104. Example: 
  3105.  
  3106.  
  3107.  
  3108.     BrowserMatch ^BadRobot/0.9 go_away
  3109.     <Directory /docroot>
  3110.         order allow,deny
  3111.         allow from all
  3112.         deny from env=go_away
  3113.     </Directory>
  3114.  
  3115. In this case browsers with the user-agent string BadRobot/0.9 will be denied
  3116. access, and all others will be allowed. 
  3117.  
  3118.  
  3119. See also allow from env and order. 
  3120. DSTSetup:RegistryStringEnd
  3121.  
  3122. DSTSetup:RegistryValue
  3123. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\deny
  3124. Default
  3125. REG_SZ
  3126.  
  3127.  
  3128. DSTSetup:RegistryValue
  3129. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\deny
  3130. Parent
  3131. REG_DWORD
  3132. 0
  3133.  
  3134. DSTSetup:RegistryKey
  3135. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Directory
  3136.  
  3137. DSTSetup:RegistryStringStart
  3138. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Directory
  3139. Description
  3140. Syntax: <Directory directory> ... </Directory> 
  3141. Context: server config, virtual host
  3142. Status: Core. 
  3143.  
  3144.  
  3145. <Directory> and </Directory> are used to enclose a group of directives which
  3146. will apply only to the named directory and sub-directories of that directory.
  3147. Any directive which is allowed in a directory context may be used. Directory is
  3148. either the full path to a directory, or a wild-card string. In a wild-card
  3149. string, `?' matches any single character, and `*' matches any sequences of
  3150. characters. As of Apache 1.3, you may also use `[]' character ranges like in the
  3151. shell. Also as of Apache 1.3 none of the wildcards match a `/' character, which
  3152. more closely mimics the behaviour of Unix shells. Example: 
  3153.  
  3154.  
  3155.  
  3156.    <Directory /usr/local/httpd/htdocs>
  3157.    Options Indexes FollowSymLinks
  3158.    </Directory>
  3159.  
  3160.  
  3161. Apache 1.2 and above: Extended regular expressions can also be used, with the
  3162. addition of the ~ character. For example:
  3163.  
  3164.  
  3165.  
  3166.    <Directory ~ "^/www/.*/[0-9]{3}">
  3167.  
  3168.  
  3169. would match directories in /www/ that consisted of three numbers. 
  3170.  
  3171. If multiple (non-regular expression) directory sections match the directory (or
  3172. its parents) containing a document, then the directives are applied in the order
  3173. of shortest match first, interspersed with the directives from the .htaccess
  3174. files. For example, with 
  3175.  
  3176.  
  3177.     <Directory />
  3178.     AllowOverride None
  3179.     </Directory>
  3180.  
  3181.     <Directory /home/*>
  3182.     AllowOverride FileInfo
  3183.     </Directory>
  3184.  
  3185.  
  3186. for access to the document /home/web/dir/doc.html the steps are: 
  3187.  
  3188.  
  3189.   * Apply directive AllowOverride None (disabling .htaccess files). 
  3190.  
  3191.   * Apply directive AllowOverride FileInfo (for directory /home/web). 
  3192.  
  3193.   * Apply any FileInfo directives in /home/web/.htaccess 
  3194.  
  3195.  
  3196. Regular expression directory sections are handled slightly differently by Apache
  3197. 1.2 and 1.3. In Apache 1.2 they are interspersed with the normal directory
  3198. sections and applied in the order they appear in the configuration file. They
  3199. are applied only once, and apply when the shortest match possible occurs. In
  3200. Apache 1.3 regular expressions are not considered until after all of the normal
  3201. sections have been applied. Then all of the regular expressions are tested in
  3202. the order they appeared in the configuration file. For example, with 
  3203.  
  3204.     <Directory ~ abc$>
  3205.     ... directives here ...
  3206.     </Directory>
  3207.  
  3208.  
  3209. Suppose that the filename being accessed is 
  3210. /home/abc/public_html/abc/index.html. The server considers each of /, /home, 
  3211. /home/abc, /home/abc/public_html, and /home/abc/public_html/abc in that order.
  3212. In Apache 1.2, when /home/abc is considered, the regular expression will match
  3213. and be applied. In Apache 1.3 the regular expression isn't considered at all at
  3214. that point in the tree. It won't be considered until after all normal
  3215. <Directory>s and .htaccess files have been applied. Then the regular expression
  3216. will match on /home/abc/public_html/abc and be applied. 
  3217.  
  3218.  
  3219. Note that the default Apache access for <Directory /> is Allow from All. This
  3220. means that Apache will serve any file mapped from an URL. It is recommended that
  3221. you change this with a block such as 
  3222.  
  3223.  
  3224.  
  3225.  <Directory />
  3226.      Order Deny,Allow
  3227.      Deny from All
  3228.  </Directory>
  3229.  
  3230.  
  3231. and then override this for directories you want accessible. See the Security
  3232. Tips page for more details. 
  3233.  
  3234. The directory sections typically occur in the access.conf file, but they may
  3235. appear in any configuration file. <Directory> directives cannot nest, and cannot
  3236. appear in a <Limit> section. 
  3237.  
  3238.  
  3239. See also: How Directory, Location and Files sections work for an explanation of
  3240. how these different sections are combined when a request is received 
  3241. DSTSetup:RegistryStringEnd
  3242.  
  3243. DSTSetup:RegistryValue
  3244. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Directory
  3245. Default
  3246. REG_SZ
  3247.  
  3248.  
  3249. DSTSetup:RegistryValue
  3250. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Directory
  3251. Parent
  3252. REG_DWORD
  3253. 1
  3254.  
  3255. DSTSetup:RegistryKey
  3256. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DirectoryIndex
  3257.  
  3258. DSTSetup:RegistryStringStart
  3259. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DirectoryIndex
  3260. Description
  3261. Syntax: DirectoryIndex local-url local-url ...
  3262. Default: DirectoryIndex index.html
  3263. Context: server config, virtual host, directory, .htaccess
  3264. Override: Indexes
  3265. Status: Base
  3266. Module: mod_dir
  3267.  
  3268.  
  3269.  
  3270. The DirectoryIndex directive sets the list of resources to look for, when the
  3271. client requests an index of the directory by specifying a / at the end of the a
  3272. directory name. Local-url is the (%-encoded) URL of a document on the server
  3273. relative to the requested directory; it is usually the name of a file in the
  3274. directory. Several URLs may be given, in which case the server will return the
  3275. first one that it finds. If none of the resources exist and the Indexes option
  3276. is set, the server will generate its own listing of the directory. 
  3277.  
  3278.  
  3279. Example: 
  3280.  
  3281.     DirectoryIndex index.html 
  3282.  
  3283.  
  3284. then a request for http://myserver/docs/ would return 
  3285. http://myserver/docs/index.html if it exists, or would list the directory if it
  3286. did not. 
  3287.  
  3288.  
  3289. Note that the documents do not need to be relative to the directory; 
  3290.  
  3291.  
  3292.     DirectoryIndex index.html index.txt /cgi-bin/index.pl
  3293.  
  3294.  
  3295. would cause the CGI script /cgi-bin/index.pl to be executed if neither 
  3296. index.html or index.txt existed in a directory.
  3297. DSTSetup:RegistryStringEnd
  3298.  
  3299. DSTSetup:RegistryValue
  3300. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DirectoryIndex
  3301. Default
  3302. REG_SZ
  3303. index.html
  3304.  
  3305. DSTSetup:RegistryValue
  3306. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DirectoryIndex
  3307. Parent
  3308. REG_DWORD
  3309. 0
  3310.  
  3311. DSTSetup:RegistryKey
  3312. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DirectoryMatch
  3313.  
  3314. DSTSetup:RegistryStringStart
  3315. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DirectoryMatch
  3316. Description
  3317. Syntax: <DirectoryMatch regex> ... </DirectoryMatch> 
  3318. Context: server config, virtual host
  3319. Status: Core.
  3320.  
  3321. Compatibility: Available in Apache 1.3 and later 
  3322.  
  3323.  
  3324. <DirectoryMatch> and </DirectoryMatch> are used to enclose a group of directives
  3325. which will apply only to the named directory and sub-directories of that
  3326. directory, the same as <Directory>. However, it takes as an argument a regular
  3327. expression. For example:
  3328.  
  3329.  
  3330.    <DirectoryMatch "^/www/.*/[0-9]{3}">
  3331.  
  3332.  
  3333. would match directories in /www/ that consisted of three numbers.
  3334.  
  3335.  
  3336. See Also: <Directory> for a description of how regular expressions are mixed in
  3337. with normal <Directory>s. 
  3338. See also: How Directory, Location and Files sections work for an explanation of
  3339. how these different sections are combined when a request is received 
  3340. DSTSetup:RegistryStringEnd
  3341.  
  3342. DSTSetup:RegistryValue
  3343. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DirectoryMatch
  3344. Default
  3345. REG_SZ
  3346.  
  3347.  
  3348. DSTSetup:RegistryValue
  3349. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DirectoryMatch
  3350. Parent
  3351. REG_DWORD
  3352. 1
  3353.  
  3354. DSTSetup:RegistryKey
  3355. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DocumentRoot
  3356.  
  3357. DSTSetup:RegistryStringStart
  3358. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DocumentRoot
  3359. Description
  3360. Syntax: DocumentRoot directory-filename
  3361. Default: DocumentRoot /usr/local/apache/htdocs
  3362. Context: server config, virtual host
  3363. Status: core
  3364.  
  3365.  
  3366.  
  3367. This directive sets the directory from which httpd will serve files. Unless
  3368. matched by a directive like Alias, the server appends the path from the
  3369. requested URL to the document root to make the path to the document. Example: 
  3370.  
  3371.  
  3372.     DocumentRoot /usr/web
  3373.  
  3374.  
  3375. then an access to http://www.my.host.com/index.html refers to 
  3376. /usr/web/index.html. 
  3377.  
  3378.  
  3379. There appears to be a bug in mod_dir which causes problems when the DocumentRoot
  3380. has a trailing slash (i.e., "DocumentRoot /usr/web/") so please avoid that. 
  3381. DSTSetup:RegistryStringEnd
  3382.  
  3383. DSTSetup:RegistryValue
  3384. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DocumentRoot
  3385. Default
  3386. REG_SZ
  3387. /usr/local/apache/htdocs
  3388.  
  3389. DSTSetup:RegistryValue
  3390. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DocumentRoot
  3391. Parent
  3392. REG_DWORD
  3393. 0
  3394.  
  3395. DSTSetup:RegistryKey
  3396. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ErrorDocument
  3397.  
  3398. DSTSetup:RegistryStringStart
  3399. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ErrorDocument
  3400. Description
  3401. Syntax: ErrorDocument error-code document
  3402. Context: server config, virtual host, directory, .htaccess
  3403. Status: core
  3404. Override: FileInfo
  3405.  
  3406. Compatibility: The directory and .htaccess contexts are only available in Apache
  3407. 1.1 and later.
  3408.  
  3409.  
  3410. In the event of a problem or error, Apache can be configured to do one of four
  3411. things, 
  3412.  
  3413.  
  3414.  1. output a simple hardcoded error message 
  3415.  
  3416.  2. output a customized message 
  3417.  
  3418.  3. redirect to a local URL to handle the problem/error 
  3419.  
  3420.  4. redirect to an external URL to handle the problem/error 
  3421.  
  3422.  
  3423. The first option is the default, while options 2-4 are configured using the 
  3424. ErrorDocument directive, which is followed by the HTTP response code and a
  3425. message or URL. 
  3426.  
  3427. Messages in this context begin with a single quote ("), which does not form part
  3428. of the message itself. Apache will sometimes offer additional information
  3429. regarding the problem/error. 
  3430.  
  3431.  
  3432. URLs can begin with a slash (/) for local URLs, or be a full URL which the
  3433. client can resolve. Examples: 
  3434.  
  3435.  
  3436.     ErrorDocument 500 http://foo.example.com/cgi-bin/tester
  3437.     ErrorDocument 404 /cgi-bin/bad_urls.pl
  3438.     ErrorDocument 401 /subscription_info.html
  3439.     ErrorDocument 403 "Sorry can't allow you access today 
  3440.  
  3441.  
  3442. Note that when you specify an ErrorDocument that points to a remote URL (ie.
  3443. anything with a method such as "http" in front of it) Apache will send a
  3444. redirect to the client to tell it where to find the document, even if the
  3445. document ends up being on the same server.. This has several implications, the
  3446. most important being that if you use an "ErrorDocument 401" directive then it
  3447. must refer to a local document. This results from the nature of the HTTP basic
  3448. authentication scheme. 
  3449.  
  3450.  
  3451. See Also: documentation of customizable responses.
  3452. DSTSetup:RegistryStringEnd
  3453.  
  3454. DSTSetup:RegistryValue
  3455. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ErrorDocument
  3456. Default
  3457. REG_SZ
  3458.  
  3459.  
  3460. DSTSetup:RegistryValue
  3461. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ErrorDocument
  3462. Parent
  3463. REG_DWORD
  3464. 0
  3465.  
  3466. DSTSetup:RegistryKey
  3467. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ErrorLog
  3468.  
  3469. DSTSetup:RegistryStringStart
  3470. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ErrorLog
  3471. Description
  3472. Syntax: ErrorLog >filename|syslog[:facility] 
  3473. Default: ErrorLog logs/error_log
  3474. Context: server config, virtual host
  3475. Status: core
  3476.  
  3477.  
  3478.  
  3479. The error log directive sets the name of the file to which the server will log
  3480. any errors it encounters. If the filename does not begin with a slash (/) then
  3481. it is assumed to be relative to the ServerRoot. If the filename begins with a
  3482. pipe (|) then it is assumed to be a command to spawn to handle the error log. 
  3483.  
  3484.  
  3485. Apache 1.3 and above: Using syslog instead of a filename enables logging via
  3486. syslogd(8) if the system supports it. The default is to use syslog facility 
  3487. local7, but you can override this by using the syslog:facility syntax where 
  3488. facility can be one of the names usually documented in syslog(1). 
  3489.  
  3490. SECURITY: See the security tips document for details on why your security could
  3491. be compromised if the directory where logfiles are stored is writable by anyone
  3492. other than the user that starts the server. 
  3493.  
  3494.  
  3495. See also: LogLevel 
  3496. DSTSetup:RegistryStringEnd
  3497.  
  3498. DSTSetup:RegistryValue
  3499. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ErrorLog
  3500. Default
  3501. REG_SZ
  3502. logs/error_log
  3503.  
  3504. DSTSetup:RegistryValue
  3505. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ErrorLog
  3506. Parent
  3507. REG_DWORD
  3508. 0
  3509.  
  3510. DSTSetup:RegistryKey
  3511. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Example
  3512.  
  3513. DSTSetup:RegistryValue
  3514. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Example
  3515. Description
  3516. REG_SZ
  3517.  
  3518.  
  3519. DSTSetup:RegistryValue
  3520. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Example
  3521. Default
  3522. REG_SZ
  3523.  
  3524.  
  3525. DSTSetup:RegistryValue
  3526. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Example
  3527. Parent
  3528. REG_DWORD
  3529. 0
  3530.  
  3531. DSTSetup:RegistryKey
  3532. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresActive
  3533.  
  3534. DSTSetup:RegistryStringStart
  3535. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresActive
  3536. Description
  3537. Syntax: ExpiresActive boolean 
  3538. Context: server config, virtual host, directory, .htaccess 
  3539. Override: Indexes 
  3540. Status: Extension 
  3541. Module: mod_expires 
  3542.  
  3543.  
  3544.  
  3545. This directive enables or disables the generation of the Expires header for the
  3546. document realm in question. (That is, if found in an .htaccess file, for
  3547. instance, it applies only to documents generated from that directory.) If set to
  3548. Off, no Expires header will be generated for any document in the realm (unless
  3549. overridden at a lower level, such as an .htaccess file overriding a server
  3550. config file). If set to On, the header will be added to served documents
  3551. according to the criteria defined by the ExpiresByType and ExpiresDefault
  3552. directives (q.v.). 
  3553.  
  3554.  
  3555. Note that this directive does not guarantee that an Expires header will be
  3556. generated. If the criteria aren't met, no header will be sent, and the effect
  3557. will be as though this directive wasn't even specified. 
  3558. DSTSetup:RegistryStringEnd
  3559.  
  3560. DSTSetup:RegistryValue
  3561. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresActive
  3562. Default
  3563. REG_SZ
  3564.  
  3565.  
  3566. DSTSetup:RegistryValue
  3567. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresActive
  3568. Parent
  3569. REG_DWORD
  3570. 0
  3571.  
  3572. DSTSetup:RegistryKey
  3573. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresByType
  3574.  
  3575. DSTSetup:RegistryStringStart
  3576. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresByType
  3577. Description
  3578. Syntax: ExpiresByType MIME-type <code>seconds 
  3579. Context: server config, virtual host, directory, .htaccess 
  3580. Override: Indexes 
  3581. Status: Extension 
  3582. Module: mod_expires 
  3583.  
  3584.  
  3585.  
  3586. This directive defines the value of the Expires header generated for documents
  3587. of the specified type (e.g., text/html). The second argument sets the number of
  3588. seconds that will be added to a base time to construct the expiration date. 
  3589.  
  3590.  
  3591. The base time is either the last modification time of the file, or the time of
  3592. the client's access to the document. Which should be used is specified by the 
  3593. <code> field; M means that the file's last modification time should be used as
  3594. the base time, and A means the client's access time should be used. 
  3595.  
  3596. The difference in effect is subtle. If M is used, all current copies of the
  3597. document in all caches will expire at the same time, which can be good for
  3598. something like a weekly notice that's always found at the same URL. If A is
  3599. used, the date of expiration is different for each client; this can be good for
  3600. image files that don't change very often, particularly for a set of related
  3601. documents that all refer to the same images (i.e., the images will be accessed
  3602. repeatedly within a relatively short timespan). 
  3603.  
  3604.  
  3605. Example: 
  3606.  
  3607.  
  3608.  
  3609.    ExpiresActive On                  # enable expirations
  3610.    ExpiresByType image/gif A2592000  # expire GIF images after a month
  3611.                                      #  in the client's cache
  3612.    ExpiresByType text/html M604800   # HTML documents are good for a
  3613.                                      #  week from the time they were
  3614.                                      #  changed, period
  3615.   
  3616.  
  3617.  
  3618. Note that this directive only has effect if ExpiresActive On has been specified.
  3619. It overrides, for the specified MIME type only, any expiration date set by the 
  3620. ExpiresDefault directive. 
  3621.  
  3622.  
  3623. You can also specify the expiration time calculation using an alternate syntax,
  3624. described later in this document. 
  3625. DSTSetup:RegistryStringEnd
  3626.  
  3627. DSTSetup:RegistryValue
  3628. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresByType
  3629. Default
  3630. REG_SZ
  3631.  
  3632.  
  3633. DSTSetup:RegistryValue
  3634. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresByType
  3635. Parent
  3636. REG_DWORD
  3637. 0
  3638.  
  3639. DSTSetup:RegistryKey
  3640. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresDefault
  3641.  
  3642. DSTSetup:RegistryStringStart
  3643. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresDefault
  3644. Description
  3645. Syntax: ExpiresDefault <code>seconds 
  3646. Context: server config, virtual host, directory, .htaccess 
  3647. Override: Indexes 
  3648. Status: Extension 
  3649. Module: mod_expires 
  3650.  
  3651.  
  3652.  
  3653. This directive sets the default algorithm for calculating the expiration time
  3654. for all documents in the affected realm. It can be overridden on a type-by-type
  3655. basis by the ExpiresByType directive. See the description of that directive for
  3656. details about the syntax of the argument, and the alternate syntax description
  3657. as well. 
  3658. DSTSetup:RegistryStringEnd
  3659.  
  3660. DSTSetup:RegistryValue
  3661. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresDefault
  3662. Default
  3663. REG_SZ
  3664.  
  3665.  
  3666. DSTSetup:RegistryValue
  3667. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresDefault
  3668. Parent
  3669. REG_DWORD
  3670. 0
  3671.  
  3672. DSTSetup:RegistryKey
  3673. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExtendedStatus
  3674.  
  3675. DSTSetup:RegistryStringStart
  3676. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExtendedStatus
  3677. Description
  3678. Syntax: ExtendedStatus On|Off
  3679. Default: ExtendedStatus Off
  3680. Context: server config 
  3681. Status: Base
  3682. Module: mod_status
  3683.  
  3684. Compatibility: ExtendedStatus is only available in Apache 1.3.2 and later. 
  3685.  
  3686.  
  3687. This directive controls whether the server keeps track of extended status
  3688. information for each request. This is only useful if the status module is
  3689. enabled on the server. 
  3690.  
  3691. This setting applies to the entire server, and cannot be enabled or disabled on
  3692. a virtualhost-by-virtualhost basis. 
  3693.  
  3694.  
  3695.  
  3696. Enabling Status Support
  3697.  
  3698. To enable status reports only for browsers from the foo.com domain add this code
  3699. to your access.conf configuration file 
  3700.  
  3701.  
  3702.     <Location /server-status>
  3703.     SetHandler server-status
  3704.  
  3705.     order deny,allow
  3706.     deny from all
  3707.     allow from .foo.com
  3708.     </Location>
  3709.  
  3710.  
  3711. You can now access server statistics by using a Web browser to access the page 
  3712. http://your.server.name/server-status 
  3713.  
  3714.  
  3715. Note that mod_status will only work when you are running Apache in standalone
  3716. mode and not inetd mode. 
  3717.  
  3718.  
  3719. Automatic Updates
  3720.  
  3721. You can get the status page to update itself automatically if you have a browser
  3722. that supports "refresh". Access the page 
  3723. http://your.server.name/server-status?refresh=N to refresh the page every N
  3724. seconds. 
  3725.  
  3726.  
  3727. Machine Readable Status File
  3728.  
  3729. A machine-readable version of the status file is available by accessing the page
  3730. http://your.server.name/server-status?auto. This is useful when automatically
  3731. run, see the Perl program in the /support directory of Apache, 
  3732. log_server_status. 
  3733.  
  3734.  
  3735.     It should be noted that if mod_status is compiled into the server, its
  3736.     handler capability is available in all configuration files, including 
  3737.     per-directory files (e.g., .htaccess). This may have security-related
  3738.     ramifications for your site. 
  3739. DSTSetup:RegistryStringEnd
  3740.  
  3741. DSTSetup:RegistryValue
  3742. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExtendedStatus
  3743. Default
  3744. REG_SZ
  3745. Off
  3746.  
  3747. DSTSetup:RegistryValue
  3748. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExtendedStatus
  3749. Parent
  3750. REG_DWORD
  3751. 0
  3752.  
  3753. DSTSetup:RegistryKey
  3754. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\FancyIndexing
  3755.  
  3756. DSTSetup:RegistryStringStart
  3757. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\FancyIndexing
  3758. Description
  3759. Syntax: FancyIndexing boolean
  3760. Context: server config, virtual host, directory, .htaccess
  3761. Override: Indexes
  3762. Status: Base
  3763. Module: mod_autoindex 
  3764.  
  3765.  
  3766. The FancyIndexing directive sets the FancyIndexing option for a directory. 
  3767. Boolean can be on or off. The IndexOptions directive should be used in
  3768. preference. 
  3769.  
  3770.  
  3771.     Note that in versions of Apache prior to 1.3.2, the FancyIndexing and 
  3772.     IndexOptions directives will override each other. You should use 
  3773.     IndexOptions FancyIndexing in preference to the standalone FancyIndexing
  3774.     directive. As of Apache 1.3.2, a standalone FancyIndexing directive is
  3775.     combined with any IndexOptions directive already specified for the current
  3776.     scope. 
  3777. DSTSetup:RegistryStringEnd
  3778.  
  3779. DSTSetup:RegistryValue
  3780. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\FancyIndexing
  3781. Default
  3782. REG_SZ
  3783.  
  3784.  
  3785. DSTSetup:RegistryValue
  3786. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\FancyIndexing
  3787. Parent
  3788. REG_DWORD
  3789. 0
  3790.  
  3791. DSTSetup:RegistryKey
  3792. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Files
  3793.  
  3794. DSTSetup:RegistryStringStart
  3795. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Files
  3796. Description
  3797. Syntax: <Files filename> ... </Files>
  3798. Context: server config, virtual host, .htaccess
  3799. Status: core
  3800.  
  3801. Compatibility: only available in Apache 1.2 and above.
  3802.  
  3803.  
  3804. The <Files> directive provides for access control by filename. It is comparable
  3805. to the <Directory> directive and <Location> directives. It should be matched
  3806. with a </Files> directive. The directives given within this section will be
  3807. applied to any object with a basename (last component of filename) matching the
  3808. specified filename. <Files> sections are processed in the order they appear in
  3809. the configuration file, after the <Directory> sections and .htaccess files are
  3810. read, but before <Location> sections. Note that <Files> can be nested inside
  3811. <Directory> sections to restrict the portion of the filesystem they apply to.
  3812.  
  3813. The filename argument should include a filename, or a wild-card string, where
  3814. `?' matches any single character, and `*' matches any sequences of characters.
  3815. Extended regular expressions can also be used, with the addition of the ~
  3816. character. For example:
  3817.  
  3818.  
  3819.  
  3820.    <Files ~ "\.(gif|jpe?g|png)$">
  3821.  
  3822.  
  3823. would match most common Internet graphics formats. In Apache 1.3 and later, 
  3824. <FilesMatch> is preferred, however. 
  3825.  
  3826.  
  3827. Note that unlike <Directory> and <Location> sections, <Files> sections can be
  3828. used inside .htaccess files. This allows users to control access to their own
  3829. files, at a file-by-file level. 
  3830.  
  3831.  
  3832. See also: How Directory, Location and Files sections work for an explanation of
  3833. how these different sections are combined when a request is received 
  3834. DSTSetup:RegistryStringEnd
  3835.  
  3836. DSTSetup:RegistryValue
  3837. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Files
  3838. Default
  3839. REG_SZ
  3840.  
  3841.  
  3842. DSTSetup:RegistryValue
  3843. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Files
  3844. Parent
  3845. REG_DWORD
  3846. 1
  3847.  
  3848. DSTSetup:RegistryKey
  3849. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\FilesMatch
  3850.  
  3851. DSTSetup:RegistryStringStart
  3852. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\FilesMatch
  3853. Description
  3854. Syntax: <FilesMatch regex> ... </FilesMatch>
  3855. Context: server config, virtual host, .htaccess
  3856. Status: core
  3857.  
  3858. Compatibility: only available in Apache 1.3 and above.
  3859.  
  3860.  
  3861. The <FilesMatch> directive provides for access control by filename, just as the 
  3862. <Files> directive does. However, it accepts a regular expression. For example:
  3863.  
  3864.  
  3865.  
  3866.    <FilesMatch "\.(gif|jpe?g|png)$">
  3867.  
  3868. would match most common Internet graphics formats.
  3869.  
  3870.  
  3871. See also: How Directory, Location and Files sections work for an explanation of
  3872. how these different sections are combined when a request is received 
  3873. DSTSetup:RegistryStringEnd
  3874.  
  3875. DSTSetup:RegistryValue
  3876. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\FilesMatch
  3877. Default
  3878. REG_SZ
  3879.  
  3880.  
  3881. DSTSetup:RegistryValue
  3882. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\FilesMatch
  3883. Parent
  3884. REG_DWORD
  3885. 1
  3886.  
  3887. DSTSetup:RegistryKey
  3888. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ForceType
  3889.  
  3890. DSTSetup:RegistryStringStart
  3891. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ForceType
  3892. Description
  3893. Syntax: ForceType media type
  3894. Context: directory, .htaccess
  3895. Status: Base
  3896. Module: mod_mime
  3897.  
  3898. Compatibility: ForceType is only available in Apache 1.1 and later.
  3899.  
  3900.  
  3901. When placed into an .htaccess file or a <Directory> or <Location> section, this
  3902. directive forces all matching files to be served as the content type given by 
  3903. media type. For example, if you had a directory full of GIF files, but did not
  3904. want to label them all with ".gif", you might want to use: 
  3905.  
  3906.  
  3907.  
  3908.     ForceType image/gif
  3909.  
  3910. Note that this will override any filename extensions that might determine the
  3911. media type.
  3912. DSTSetup:RegistryStringEnd
  3913.  
  3914. DSTSetup:RegistryValue
  3915. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ForceType
  3916. Default
  3917. REG_SZ
  3918.  
  3919.  
  3920. DSTSetup:RegistryValue
  3921. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ForceType
  3922. Parent
  3923. REG_DWORD
  3924. 0
  3925.  
  3926. DSTSetup:RegistryKey
  3927. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Group
  3928.  
  3929. DSTSetup:RegistryStringStart
  3930. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Group
  3931. Description
  3932. Syntax: Group unix-group
  3933. Default: Group #-1
  3934. Context: server config, virtual host
  3935. Status: core
  3936.  
  3937.  
  3938.  
  3939. The Group directive sets the group under which the server will answer requests.
  3940. In order to use this directive, the stand-alone server must be run initially as
  3941. root. Unix-group is one of: 
  3942.  
  3943. A group name 
  3944.      Refers to the given group by name. 
  3945.  
  3946.  
  3947. # followed by a group number. 
  3948.      Refers to a group by its number. 
  3949.  
  3950.  
  3951. It is recommended that you set up a new group specifically for running the
  3952. server. Some admins use user nobody, but this is not always possible or
  3953. desirable.
  3954.  
  3955.  
  3956. Note: if you start the server as a non-root user, it will fail to change to the
  3957. specified group, and will instead continue to run as the group of the original
  3958. user. 
  3959.  
  3960.  
  3961. Special note: Use of this directive in <VirtualHost> requires a properly
  3962. configured suEXEC wrapper. When used inside a <VirtualHost> in this manner, only
  3963. the group that CGIs are run as is affected. Non-CGI requests are still processed
  3964. as the group specified in the main Group directive.
  3965.  
  3966. SECURITY: See User for a discussion of the security considerations.
  3967. DSTSetup:RegistryStringEnd
  3968.  
  3969. DSTSetup:RegistryValue
  3970. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Group
  3971. Default
  3972. REG_SZ
  3973. #-1
  3974.  
  3975. DSTSetup:RegistryValue
  3976. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Group
  3977. Parent
  3978. REG_DWORD
  3979. 0
  3980.  
  3981. DSTSetup:RegistryKey
  3982. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Header
  3983.  
  3984. DSTSetup:RegistryStringStart
  3985. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Header
  3986. Description
  3987. Syntax: Header [ set | append | add ] header value
  3988. Syntax: Header unset header
  3989. Context: server config, virtual host, access.conf, .htaccess
  3990. Status: optional
  3991. Module: mod_header
  3992.  
  3993.  
  3994.  
  3995. This directive can replace, merge or remove HTTP response headers. The action it
  3996. performs is determined by the first argument. This can be one of the following
  3997. values: 
  3998.  
  3999.  
  4000.   * set
  4001.     The response header is set, replacing any previous header with this name 
  4002.  
  4003.   * append
  4004.     The response header is appended to any existing header of the same name.
  4005.     When a new value is merged onto an existing header it is separated from the
  4006.     existing header with a comma. This is the HTTP standard way of giving a
  4007.     header multiple values. 
  4008.  
  4009.   * add
  4010.     The response header is added to the existing set of headers, even if this
  4011.     header already exists. This can result in two (or more) headers having the
  4012.     same name. This can lead to unforeseen consequences, and in general "append"
  4013.     should be used instead. 
  4014.  
  4015.   * unset
  4016.     The response header of this name is removed, if it exists. If there are
  4017.     multiple headers of the same name, only the first one set will be removed. 
  4018.  
  4019.  
  4020. This argument is followed by a header name, which can include the final colon,
  4021. but it is not required. Case is ignored. For add, append and set a value is
  4022. given as the third argument. If this value contains spaces, it should be
  4023. surrounded by double quotes. For unset, no value should be given. 
  4024.  
  4025.  
  4026. Order of Processing
  4027.  
  4028. The Header directive can occur almost anywhere within the server configuration.
  4029. It is valid in the main server config and virtual host sections, inside
  4030. <Directory>, <Location> and <Files> sections, and within .htaccess files. 
  4031.  
  4032.  
  4033. The Header directives are processed in the following order: 
  4034.  
  4035.  1. main server 
  4036.  
  4037.  2. virtual host 
  4038.  
  4039.  3. <Directory> sections and .htaccess 
  4040.  
  4041.  4. <Location> 
  4042.  
  4043.  5. <Files> 
  4044.  
  4045.  
  4046. Order is important. These two headers have a different effect if reversed: 
  4047.  
  4048.  
  4049.  
  4050. Header append Author "John P. Doe"
  4051. Header unset Author
  4052.  
  4053.  
  4054. This way round, the Author header is not set. If reversed, the Author header is
  4055. set to "John P. Doe". 
  4056.  
  4057.  
  4058. The Header directives are processed just before the response is sent by its
  4059. handler. These means that some headers that are added just before the response
  4060. is sent cannot be unset or overridden. This includes headers such as "Date" and
  4061. "Server". 
  4062. DSTSetup:RegistryStringEnd
  4063.  
  4064. DSTSetup:RegistryValue
  4065. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Header
  4066. Default
  4067. REG_SZ
  4068.  
  4069.  
  4070. DSTSetup:RegistryValue
  4071. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Header
  4072. Parent
  4073. REG_DWORD
  4074. 0
  4075.  
  4076. DSTSetup:RegistryKey
  4077. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\HeaderName
  4078.  
  4079. DSTSetup:RegistryStringStart
  4080. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\HeaderName
  4081. Description
  4082. Syntax: HeaderName filename
  4083. Context: server config, virtual host, directory, .htaccess
  4084. Override: Indexes
  4085. Status: Base
  4086. Module: mod_autoindex
  4087.  
  4088.  
  4089. The HeaderName directive sets the name of the file that will be inserted at the
  4090. top of the index listing. Filename is the name of the file to include, and is
  4091. taken to be relative to the directory being indexed. The server first attempts
  4092. to include filename.html as an HTML document, otherwise it will include filename
  4093. as plain text. Example: 
  4094.  
  4095.  
  4096.     HeaderName HEADER
  4097.  
  4098.  
  4099. when indexing the directory /web, the server will first look for the HTML file 
  4100. /web/HEADER.html and include it if found, otherwise it will include the plain
  4101. text file /web/HEADER, if it exists. 
  4102.  
  4103.  
  4104. See also ReadmeName.
  4105. DSTSetup:RegistryStringEnd
  4106.  
  4107. DSTSetup:RegistryValue
  4108. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\HeaderName
  4109. Default
  4110. REG_SZ
  4111.  
  4112.  
  4113. DSTSetup:RegistryValue
  4114. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\HeaderName
  4115. Parent
  4116. REG_DWORD
  4117. 0
  4118.  
  4119. DSTSetup:RegistryKey
  4120. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\HostNameLookups
  4121.  
  4122. DSTSetup:RegistryStringStart
  4123. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\HostNameLookups
  4124. Description
  4125. Syntax: HostNameLookups on | off | double
  4126. Default: HostNameLookups off
  4127. Context: server config, virtual host, directory
  4128. Status: core
  4129.  
  4130. Compatibility: double available only in Apache 1.3 and above.
  4131. Compatibility: Default was on prior to Apache 1.3.
  4132.  
  4133.  
  4134. This directive enables DNS lookups so that host names can be logged (and passed
  4135. to CGIs/SSIs in REMOTE_HOST). The value double refers to doing double-reverse
  4136. DNS. That is, after a reverse lookup is performed, a forward lookup is then
  4137. performed on that result. At least one of the ip addresses in the forward lookup
  4138. must match the original address. (In "tcpwrappers" terminology this is called 
  4139. PARANOID.)
  4140.  
  4141. Regardless of the setting, when mod_access is used for controlling access by
  4142. hostname, a double reverse lookup will be performed. This is necessary for
  4143. security. Note that the result of this double-reverse isn't generally available
  4144. unless you set HostnameLookups double. For example, if only HostnameLookups on
  4145. and a request is made to an object that is protected by hostname restrictions,
  4146. regardless of whether the double-reverse fails or not, CGIs will still be passed
  4147. the single-reverse result in REMOTE_HOST.
  4148.  
  4149.  
  4150. The default for this directive was previously on in versions of Apache prior to
  4151. 1.3. It was changed to off in order to save the network traffic for those sites
  4152. that don't truly need the reverse lookups done. It is also better for the end
  4153. users because they don't have to suffer the extra latency that a lookup entails.
  4154. Heavily loaded sites should leave this directive off, since DNS lookups can take
  4155. considerable amounts of time. The utility logresolve, provided in the /support
  4156. directory, can be used to look up host names from logged IP addresses offline.
  4157. DSTSetup:RegistryStringEnd
  4158.  
  4159. DSTSetup:RegistryValue
  4160. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\HostNameLookups
  4161. Default
  4162. REG_SZ
  4163. off
  4164.  
  4165. DSTSetup:RegistryValue
  4166. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\HostNameLookups
  4167. Parent
  4168. REG_DWORD
  4169. 0
  4170.  
  4171. DSTSetup:RegistryKey
  4172. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\httpd.conf
  4173.  
  4174. DSTSetup:RegistryStringStart
  4175. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\httpd.conf
  4176. Description
  4177. This is the main server configuration file.
  4178.  
  4179. See URL http://www.apache.org/ for instructions.s.
  4180. DSTSetup:RegistryStringEnd
  4181.  
  4182. DSTSetup:RegistryValue
  4183. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\httpd.conf
  4184. Default
  4185. REG_SZ
  4186.  
  4187.  
  4188. DSTSetup:RegistryValue
  4189. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\httpd.conf
  4190. Parent
  4191. REG_DWORD
  4192. 2
  4193.  
  4194. DSTSetup:RegistryKey
  4195. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IdentityCheck
  4196.  
  4197. DSTSetup:RegistryStringStart
  4198. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IdentityCheck
  4199. Description
  4200. Syntax: IdentityCheck boolean
  4201. Default: IdentityCheck off
  4202. Context: server config, virtual host, directory
  4203. Status: core
  4204.  
  4205.  
  4206.  
  4207. This directive enables RFC1413-compliant logging of the remote user name for
  4208. each connection, where the client machine runs identd or something similar. This
  4209. information is logged in the access log. Boolean is either on or off.
  4210.  
  4211. The information should not be trusted in any way except for rudimentary usage
  4212. tracking.
  4213.  
  4214.  
  4215. Note that this can cause serious latency problems accessing your server since
  4216. every request requires one of these lookups to be performed. When firewalls are
  4217. involved each lookup might possibly fail and add 30 seconds of latency to each
  4218. hit. So in general this is not very useful on public servers accessible from the
  4219. Internet. 
  4220. DSTSetup:RegistryStringEnd
  4221.  
  4222. DSTSetup:RegistryValue
  4223. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IdentityCheck
  4224. Default
  4225. REG_SZ
  4226. off
  4227.  
  4228. DSTSetup:RegistryValue
  4229. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IdentityCheck
  4230. Parent
  4231. REG_DWORD
  4232. 0
  4233.  
  4234. DSTSetup:RegistryKey
  4235. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IfDefine
  4236.  
  4237. DSTSetup:RegistryStringStart
  4238. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IfDefine
  4239. Description
  4240. Syntax: <IfDefine [!]parameter-name> ... </IfDefine>
  4241. Default: None
  4242. Context: all
  4243. Status: Core
  4244.  
  4245. Compatibility: <IfDefine> is only available in 1.3.1 and later.
  4246.  
  4247. The <IfDefine test>...</IfDefine> section is used to mark directives that are
  4248. conditional. The directives within an IfDefine section are only processed if the
  4249. test is true. If test is false, everything between the start and end markers is
  4250. ignored.
  4251.  
  4252.  
  4253. The test in the <IfDefine> section directive can be one of two forms: 
  4254.  
  4255.  
  4256.   * parameter-name 
  4257.  
  4258.   * !parameter-name 
  4259.  
  4260.  
  4261. In the former case, the directives between the start and end markers are only
  4262. processed if the parameter named parameter-name is defined. The second format
  4263. reverses the test, and only processes the directives if parameter-name is not
  4264. defined. 
  4265.  
  4266.  
  4267. The parameter-name argument is a define as given on the httpd command line via 
  4268. -Dparameter-, at the time the server was started. 
  4269.  
  4270. <IfDefine> sections are nest-able, which can be used to implement simple
  4271. multiple-parameter tests. Example: 
  4272.  
  4273.  
  4274.  
  4275.   $ httpd -DReverseProxy ...
  4276.  
  4277.   # httpd.conf
  4278.   <IfDefine ReverseProxy>
  4279.   LoadModule rewrite_module libexec/mod_rewrite.so
  4280.   LoadModule proxy_module   libexec/libproxy.so
  4281.   </IfDefine>
  4282. DSTSetup:RegistryStringEnd
  4283.  
  4284. DSTSetup:RegistryValue
  4285. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IfDefine
  4286. Default
  4287. REG_SZ
  4288.  
  4289.  
  4290. DSTSetup:RegistryValue
  4291. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IfDefine
  4292. Parent
  4293. REG_DWORD
  4294. 1
  4295.  
  4296. DSTSetup:RegistryKey
  4297. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IfModule
  4298.  
  4299. DSTSetup:RegistryStringStart
  4300. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IfModule
  4301. Description
  4302. Syntax: <IfModule [!]module-name> ... </IfModule>
  4303. Default: None
  4304. Context: all
  4305. Status: Core
  4306.  
  4307. Compatibility: IfModule is only available in 1.2 and later.
  4308.  
  4309. The <IfModule test>...</IfModule> section is used to mark directives that are
  4310. conditional. The directives within an IfModule section are only processed if the
  4311. test is true. If test is false, everything between the start and end markers is
  4312. ignored.
  4313.  
  4314.  
  4315. The test in the <IfModule> section directive can be one of two forms: 
  4316.  
  4317.  
  4318.   * module name 
  4319.  
  4320.   * !module name 
  4321.  
  4322.  
  4323. In the former case, the directives between the start and end markers are only
  4324. processed if the module named module name is compiled in to Apache. The second
  4325. format reverses the test, and only processes the directives if module name is 
  4326. not compiled in. 
  4327.  
  4328.  
  4329. The module name argument is a module name as given as the file name of the
  4330. module, at the time it was compiled. For example, mod_rewrite.c. 
  4331.  
  4332. <IfModule> sections are nest-able, which can be used to implement simple
  4333. multiple-module tests. 
  4334. DSTSetup:RegistryStringEnd
  4335.  
  4336. DSTSetup:RegistryValue
  4337. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IfModule
  4338. Default
  4339. REG_SZ
  4340.  
  4341.  
  4342. DSTSetup:RegistryValue
  4343. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IfModule
  4344. Parent
  4345. REG_DWORD
  4346. 1
  4347.  
  4348. DSTSetup:RegistryKey
  4349. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Imagemap
  4350.  
  4351. DSTSetup:RegistryStringStart
  4352. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Imagemap
  4353. Description
  4354. The lines in the imagemap files can have one of several formats: 
  4355.  
  4356.  
  4357.     directive value [x,y ...]
  4358.     directive value "Menu text" [x,y ...]
  4359.     directive value x,y ... "Menu text"
  4360.  
  4361. The directive is one of base, default, poly, circle, rect, or point. The value
  4362. is an absolute or relative URL, or one of the special values listed below. The
  4363. coordinates are x,y pairs separated by whitespace. The quoted text is used as
  4364. the text of the link if a imagemap menu is generated. Lines beginning with '#'
  4365. are comments. 
  4366.  
  4367.  
  4368. Imagemap File Directives
  4369.  
  4370. There are six directives allowed in the imagemap file. The directives can come
  4371. in any order, but are processed in the order they are found in the imagemap
  4372. file. 
  4373.  
  4374.  
  4375. base Directive 
  4376.      Has the effect of <BASE HREF="value">. The non-absolute URLs of the
  4377.      map-file are taken relative to this value. The base directive overrides
  4378.      ImapBase as set in a .htaccess file or in the server configuration files.
  4379.      In the absence of an ImapBase configuration directive, base defaults to 
  4380.      http://server_name/. 
  4381.      base_uri is synonymous with base. Note that a trailing slash on the URL is
  4382.      significant. 
  4383.  
  4384.  
  4385.  
  4386. default Directive 
  4387.      The action taken if the coordinates given do not fit any of the poly, 
  4388.      circle or rect directives, and there are no point directives. Defaults to 
  4389.      nocontent in the absence of an ImapDefault configuration setting, causing a
  4390.      status code of 204 No Content to be returned. The client should keep the
  4391.      same page displayed. 
  4392.  
  4393.  
  4394.  
  4395. poly Directive 
  4396.      Takes three to one-hundred points, and is obeyed if the user selected
  4397.      coordinates fall within the polygon defined by these points. 
  4398.  
  4399.  
  4400.  
  4401. circle 
  4402.      Takes the center coordinates of a circle and a point on the circle. Is
  4403.      obeyed if the user selected point is with the circle. 
  4404.  
  4405.  
  4406. rect Directive 
  4407.      Takes the coordinates of two opposing corners of a rectangle. Obeyed if the
  4408.      point selected is within this rectangle. 
  4409.  
  4410.  
  4411.  
  4412. point Directive 
  4413.      Takes a single point. The point directive closest to the user selected
  4414.      point is obeyed if no other directives are satisfied. Note that default
  4415.      will not be followed if a point directive is present and valid coordinates
  4416.      are given. 
  4417.  
  4418.  
  4419. Values
  4420.  
  4421. The values for each of the directives can any of the following: 
  4422.  
  4423.  
  4424. a URL 
  4425.      The URL can be relative or absolute URL. Relative URLs can contain '..'
  4426.      syntax and will be resolved relative to the base value. 
  4427.      base itself will not resolved according to the current value. A statement 
  4428.      base mailto: will work properly, though. 
  4429.  
  4430.  
  4431.  
  4432. map 
  4433.      Equivalent to the URL of the imagemap file itself. No coordinates are sent
  4434.      with this, so a menu will be generated unless ImapMenu is set to 'none'. 
  4435.  
  4436.  
  4437.  
  4438. menu 
  4439.      Synonymous with map. 
  4440.  
  4441.  
  4442. referer 
  4443.      Equivalent to the URL of the referring document. Defaults to 
  4444.      http://servername/ if no Referer: header was present. 
  4445.  
  4446.  
  4447.  
  4448. nocontent 
  4449.      Sends a status code of 204 No Content, telling the client to keep the same
  4450.      page displayed. Valid for all but base. 
  4451.  
  4452.  
  4453.  
  4454. error 
  4455.      Fails with a 500 Server Error. Valid for all but base, but sort of silly
  4456.      for anything but default. 
  4457.  
  4458.  
  4459. Coordinates
  4460.  
  4461.  
  4462. 0,0 200,200 
  4463.      A coordinate consists of an x and a y value separated by a comma. The
  4464.      coordinates are separated from each other by whitespace. To accommodate the
  4465.      way Lynx handles imagemaps, should a user select the coordinate 0,0, it is
  4466.      as if no coordinate had been selected. 
  4467.  
  4468.  
  4469. Quoted Text
  4470.  
  4471.  
  4472. "Menu Text" 
  4473.      After the value or after the coordinates, the line optionally may contain
  4474.      text within double quotes. This string is used as the text for the link if
  4475.      a menu is generated:
  4476.      <a HREF="http://foo.com/">Menu text</a>
  4477.      If no quoted text is present, the name of the link will be used as the
  4478.      text:
  4479.      <a HREF="http://foo.com/">http://foo.com</a>
  4480.      It is impossible to escape double quotes within this text. . 
  4481. DSTSetup:RegistryStringEnd
  4482.  
  4483. DSTSetup:RegistryValue
  4484. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Imagemap
  4485. Default
  4486. REG_SZ
  4487.  
  4488.  
  4489. DSTSetup:RegistryValue
  4490. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Imagemap
  4491. Parent
  4492. REG_DWORD
  4493. 0
  4494.  
  4495. DSTSetup:RegistryKey
  4496. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Include
  4497.  
  4498. DSTSetup:RegistryStringStart
  4499. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Include
  4500. Description
  4501. Syntax: Include filename
  4502. Context: server config
  4503. Status: Core
  4504.  
  4505. Compatibility: Include is only available in Apache 1.3 and later. 
  4506.  
  4507.  
  4508. This directive allows inclusion of other configuration files from within the
  4509. server configuration files. 
  4510. DSTSetup:RegistryStringEnd
  4511.  
  4512. DSTSetup:RegistryValue
  4513. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Include
  4514. Default
  4515. REG_SZ
  4516.  
  4517.  
  4518. DSTSetup:RegistryValue
  4519. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Include
  4520. Parent
  4521. REG_DWORD
  4522. 0
  4523.  
  4524. DSTSetup:RegistryKey
  4525. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IndexIgnore
  4526.  
  4527. DSTSetup:RegistryStringStart
  4528. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IndexIgnore
  4529. Description
  4530. Syntax: IndexIgnore file file ...
  4531. Context: server config, virtual host, directory, .htaccess
  4532. Override: Indexes
  4533. Status: Base
  4534. Module: mod_autoindex
  4535.  
  4536.  
  4537.  
  4538. The IndexIgnore directive adds to the list of files to hide when listing a
  4539. directory. File is a file extension, partial filename, wildcard expression or
  4540. full filename for files to ignore. Multiple IndexIgnore directives add to the
  4541. list, rather than the replacing the list of ignored files. By default, the list
  4542. contains `.'. Example: 
  4543.  
  4544.  
  4545.     IndexIgnore README .htaccess *~ 
  4546. DSTSetup:RegistryStringEnd
  4547.  
  4548. DSTSetup:RegistryValue
  4549. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IndexIgnore
  4550. Default
  4551. REG_SZ
  4552.  
  4553.  
  4554. DSTSetup:RegistryValue
  4555. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IndexIgnore
  4556. Parent
  4557. REG_DWORD
  4558. 0
  4559.  
  4560. DSTSetup:RegistryKey
  4561. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IndexOptions
  4562.  
  4563. DSTSetup:RegistryStringStart
  4564. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IndexOptions
  4565. Description
  4566. Syntax: IndexOptions option option ... (Apache 1.3.2 and earlier) 
  4567. Syntax: IndexOptions [+|-]option [+|-]option ... (Apache 1.3.3 and later) 
  4568. Context: server config, virtual host, directory, .htaccess
  4569. Override: Indexes
  4570. Status: Base
  4571. Module: mod_autoindex 
  4572.  
  4573. Compatibility: '+/-' syntax and merging of multiple IndexOptions directives is
  4574. only available with Apache 1.3.3 and later 
  4575.  
  4576.  
  4577. The IndexOptions directive specifies the behavior of the directory indexing. 
  4578. Option can be one of 
  4579.  
  4580.  
  4581. FancyIndexing 
  4582.      This turns on fancy indexing of directories. 
  4583.  
  4584.  
  4585.          Note that in versions of Apache prior to 1.3.2, the FancyIndexing and 
  4586.          IndexOptions directives will override each other. You should use 
  4587.          IndexOptions FancyIndexing in preference to the standalone 
  4588.          FancyIndexing directive. As of Apache 1.3.2, a standalone 
  4589.          FancyIndexing directive is combined with any IndexOptions directive
  4590.          already specified for the current scope. 
  4591.  
  4592. IconHeight[=pixels] (Apache 1.3 and later) 
  4593.      Presence of this option, when used with IconWidth, will cause the server to
  4594.      include HEIGHT and WIDTH attributes in the IMG tag for the file icon. This
  4595.      allows browser to precalculate the page layout without having to wait until
  4596.      all the images have been loaded. If no value is given for the option, it
  4597.      defaults to the standard height of the icons supplied with the Apache
  4598.      software. 
  4599.  
  4600.  
  4601. IconsAreLinks 
  4602.      This makes the icons part of the anchor for the filename, for fancy
  4603.      indexing. 
  4604.  
  4605.  
  4606. IconWidth[=pixels] (Apache 1.3 and later) 
  4607.      Presence of this option, when used with IconHeight, will cause the server
  4608.      to include HEIGHT and WIDTH attributes in the IMG tag for the file icon.
  4609.      This allows browser to precalculate the page layout without having to wait
  4610.      until all the images have been loaded. If no value is given for the option,
  4611.      it defaults to the standard width of the icons supplied with the Apache
  4612.      software. 
  4613.  
  4614.  
  4615. NameWidth=[n | *] (Apache 1.3.2 and later) 
  4616.      The NameWidth keyword allows you to specify the width of the filename
  4617.      column in bytes. If the keyword value is '*', then the column is
  4618.      automatically sized to the length of the longest filename in the display. 
  4619.  
  4620.  
  4621. ScanHTMLTitles 
  4622.      This enables the extraction of the title from HTML documents for fancy
  4623.      indexing. If the file does not have a description given by AddDescription
  4624.      then httpd will read the document for the value of the TITLE tag. This is
  4625.      CPU and disk intensive. 
  4626.  
  4627. SuppressColumnSorting 
  4628.      If specified, Apache will not make the column headings in a FancyIndexed
  4629.      directory listing into links for sorting. The default behaviour is for them
  4630.      to be links; selecting the column heading will sort the directory listing
  4631.      by the values in that column. Only available in Apache 1.3 and later. 
  4632.  
  4633.  
  4634. SuppressDescription 
  4635.      This will suppress the file description in fancy indexing listings. 
  4636.  
  4637.  
  4638. SuppressHTMLPreamble 
  4639.      If the directory actually contains a file specified by the HeaderName
  4640.      directive, the module usually includes the contents of the file after a
  4641.      standard HTML preamble (<HTML>, <HEAD>, et cetera). The
  4642.      SuppressHTMLPreamble option disables this behaviour, causing the module to
  4643.      start the display with the header file contents. The header file must
  4644.      contain appropriate HTML instructions in this case. If there is no header
  4645.      file, the preamble is generated as usual. 
  4646.  
  4647.  
  4648. SuppressLastModified 
  4649.      This will suppress the display of the last modification date, in fancy
  4650.      indexing listings. 
  4651.  
  4652.  
  4653. SuppressSize 
  4654.      This will suppress the file size in fancy indexing listings. 
  4655.  
  4656. There are some noticeable differences in the behaviour of this directive in
  4657. recent (post-1.3.0) versions of Apache. 
  4658.  
  4659.  
  4660. Apache 1.3.2 and earlier:
  4661.  
  4662.  
  4663.      The default is that no options are enabled. If multiple IndexOptions could
  4664.      apply to a directory, then the most specific one is taken complete; the
  4665.      options are not merged. For example: 
  4666.  
  4667.  
  4668.          <Directory /web/docs> 
  4669.          IndexOptions FancyIndexing 
  4670.          </Directory>
  4671.          <Directory /web/docs/spec> 
  4672.          IndexOptions ScanHTMLTitles 
  4673.          </Directory> 
  4674.  
  4675.  
  4676.      then only ScanHTMLTitles will be set for the /web/docs/spec directory. 
  4677.  
  4678. Apache 1.3.3 and later:
  4679.  
  4680.  
  4681.      Apache 1.3.3 introduced some significant changes in the handling of 
  4682.      IndexOptions directives. In particular, 
  4683.  
  4684.  
  4685.        * Multiple IndexOptions directives for a single directory are now merged
  4686.          together. The result of the example above will now be the equivalent of
  4687.          IndexOptions FancyIndexing ScanHTMLTitles. 
  4688.  
  4689.        * The addition of the incremental syntax (i.e., prefixing keywords with
  4690.          '+' or '-'). 
  4691.  
  4692.  
  4693.      Whenever a '+' or '-' prefixed keyword is encountered, it is applied to the
  4694.      current IndexOptions settings (which may have been inherited from an
  4695.      upper-level directory). However, whenever an unprefixed keyword is
  4696.      processed, it clears all inherited options and any incremental settings
  4697.      encountered so far. Consider the following example: 
  4698.  
  4699.  
  4700.          IndexOptions +ScanHTMLTitles -IconsAreLinks FancyIndexing 
  4701.          IndexOptions +SuppressSize 
  4702.  
  4703.      The net effect is equivalent to IndexOptions FancyIndexing +SuppressSize,
  4704.      because the unprefixed FancyIndexing discarded the incremental keywords
  4705.      before it, but allowed them to start accumulating again afterward. 
  4706.  
  4707.  
  4708.      To unconditionally set the IndexOptions for a particular directory,
  4709.      clearing the inherited settings, specify keywords without either '+' or '-'
  4710.      prefixes. 
  4711. DSTSetup:RegistryStringEnd
  4712.  
  4713. DSTSetup:RegistryValue
  4714. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IndexOptions
  4715. Default
  4716. REG_SZ
  4717.  
  4718.  
  4719. DSTSetup:RegistryValue
  4720. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IndexOptions
  4721. Parent
  4722. REG_DWORD
  4723. 0
  4724.  
  4725. DSTSetup:RegistryKey
  4726. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAlive
  4727.  
  4728. DSTSetup:RegistryStringStart
  4729. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAlive
  4730. Description
  4731. Syntax: (Apache 1.1) KeepAlive max-requests
  4732. Default: (Apache 1.1) KeepAlive 5
  4733. Syntax: (Apache 1.2) KeepAlive on/off
  4734. Default: (Apache 1.2) KeepAlive On
  4735. Context: server config
  4736. Status: Core
  4737.  
  4738. Compatibility: KeepAlive is only available in Apache 1.1 and later.
  4739.  
  4740.  
  4741. This directive enables Keep-Alive support. 
  4742.  
  4743.  
  4744. Apache 1.1: Set max-requests to the maximum number of requests you want Apache
  4745. to entertain per request. A limit is imposed to prevent a client from hogging
  4746. your server resources. Set this to 0 to disable support. 
  4747.  
  4748.  
  4749. Apache 1.2 and later: Set to "On" to enable persistent connections, "Off" to
  4750. disable. See also the MaxKeepAliveRequests directive.
  4751. DSTSetup:RegistryStringEnd
  4752.  
  4753. DSTSetup:RegistryValue
  4754. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAlive
  4755. Default
  4756. REG_SZ
  4757. 1.2) KeepAlive On
  4758.  
  4759. DSTSetup:RegistryValue
  4760. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAlive
  4761. Parent
  4762. REG_DWORD
  4763. 0
  4764.  
  4765. DSTSetup:RegistryKey
  4766. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAliveTimeout
  4767.  
  4768. DSTSetup:RegistryStringStart
  4769. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAliveTimeout
  4770. Description
  4771. Syntax: KeepAliveTimeout seconds
  4772. Default: KeepAliveTimeout 15
  4773. Context: server config
  4774. Status: Core
  4775.  
  4776. Compatibility: KeepAliveTimeout is only available in Apache 1.1 and later.
  4777.  
  4778.  
  4779. The number of seconds Apache will wait for a subsequent request before closing
  4780. the connection. Once a request has been received, the timeout value specified by
  4781. the Timeout directive applies. 
  4782. DSTSetup:RegistryStringEnd
  4783.  
  4784. DSTSetup:RegistryValue
  4785. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAliveTimeout
  4786. Default
  4787. REG_SZ
  4788. 15
  4789.  
  4790. DSTSetup:RegistryValue
  4791. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAliveTimeout
  4792. Parent
  4793. REG_DWORD
  4794. 0
  4795.  
  4796. DSTSetup:RegistryKey
  4797. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LanguagePriority
  4798.  
  4799. DSTSetup:RegistryStringStart
  4800. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LanguagePriority
  4801. Description
  4802. Syntax: LanguagePriority MIME-lang MIME-lang...
  4803. Context: server config, virtual host, directory, .htaccess
  4804. Override: FileInfo
  4805. Status: Base
  4806. Module: mod_negotiation
  4807.  
  4808.  
  4809.  
  4810. The LanguagePriority sets the precedence of language variants for the case where
  4811. the client does not express a preference, when handling a MultiViews request.
  4812. The list of MIME-lang are in order of decreasing preference. Example: 
  4813.  
  4814.  
  4815.     LanguagePriority en fr de
  4816.  
  4817.  
  4818. For a request for foo.html, where foo.html.fr and foo.html.de both existed, but
  4819. the browser did not express a language preference, then foo.html.fr would be
  4820. returned.
  4821.  
  4822.  
  4823. Note that this directive only has an effect if a 'best' language cannot be
  4824. determined by other any other means. Correctly implemented HTTP/1.1 requests
  4825. will mean this directive has no effect. 
  4826. DSTSetup:RegistryStringEnd
  4827.  
  4828. DSTSetup:RegistryValue
  4829. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LanguagePriority
  4830. Default
  4831. REG_SZ
  4832.  
  4833.  
  4834. DSTSetup:RegistryValue
  4835. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LanguagePriority
  4836. Parent
  4837. REG_DWORD
  4838. 0
  4839.  
  4840. DSTSetup:RegistryKey
  4841. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Limit
  4842.  
  4843. DSTSetup:RegistryStringStart
  4844. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Limit
  4845. Description
  4846. Syntax: <Limit method method ... > ... </Limit>
  4847. Context: any
  4848. Status: core
  4849.  
  4850.  
  4851.  
  4852. <Limit> and </Limit> are used to enclose a group of access control directives
  4853. which will then apply only to the specified access methods, where method is any
  4854. valid HTTP method. Any directive except another <Limit> or <Directory> may be
  4855. used; the majority will be unaffected by the <Limit>. Example: 
  4856.  
  4857.  
  4858.     <Limit GET POST>
  4859.     require valid-user
  4860.     </Limit>
  4861.  
  4862.  
  4863. If an access control directive appears outside a <Limit> directive, then it
  4864. applies to all access methods. The method names listed can be one or more of:
  4865. GET, POST, PUT, DELETE, CONNECT or OPTIONS. The method name is case-sensitive.
  4866. If GET is used it will also restrict HEAD requests. If you wish to limit all
  4867. methods, do not include any <Limit> directive at all. 
  4868. DSTSetup:RegistryStringEnd
  4869.  
  4870. DSTSetup:RegistryValue
  4871. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Limit
  4872. Default
  4873. REG_SZ
  4874.  
  4875.  
  4876. DSTSetup:RegistryValue
  4877. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Limit
  4878. Parent
  4879. REG_DWORD
  4880. 1
  4881.  
  4882. DSTSetup:RegistryKey
  4883. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestBody
  4884.  
  4885. DSTSetup:RegistryStringStart
  4886. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestBody
  4887. Description
  4888. Syntax: LimitRequestBody number
  4889. Default: LimitRequestBody 0
  4890. Context: server config, virtual host, directory, .htaccess
  4891. Status: core
  4892.  
  4893. Compatibility: LimitRequestBody is only available in Apache 1.3.2 and later. 
  4894.  
  4895.  
  4896. Number is a long integer from 0 (meaning unlimited) to 2147483647 (2GB). The
  4897. default value is defined by the compile-time constant DEFAULT_LIMIT_REQUEST_BODY
  4898. (0 as distributed). 
  4899.  
  4900.  
  4901. The LimitRequestBody directive allows the user to set a limit on the allowed
  4902. size of an HTTP request message body within the context in which the directive
  4903. is given (server, per-directory, per-file or per-location). If the client
  4904. request exceeds that limit, the server will return an error response instead of
  4905. servicing the request. The size of a normal request message body will vary
  4906. greatly depending on the nature of the resource and the methods allowed on that
  4907. resource. CGI scripts typically use the message body for passing form
  4908. information to the server. Implementations of the PUT method will require a
  4909. value at least as large as any representation that the server wishes to accept
  4910. for that resource. 
  4911.  
  4912.  
  4913. This directive gives the server administrator greater control over abnormal
  4914. client request behavior, which may be useful for avoiding some forms of
  4915. denial-of-service attacks. 
  4916. DSTSetup:RegistryStringEnd
  4917.  
  4918. DSTSetup:RegistryValue
  4919. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestBody
  4920. Default
  4921. REG_SZ
  4922. 0
  4923.  
  4924. DSTSetup:RegistryValue
  4925. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestBody
  4926. Parent
  4927. REG_DWORD
  4928. 0
  4929.  
  4930. DSTSetup:RegistryKey
  4931. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestFields
  4932.  
  4933. DSTSetup:RegistryStringStart
  4934. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestFields
  4935. Description
  4936. Syntax: LimitRequestFields number
  4937. Default: LimitRequestFields 100
  4938. Context: server config
  4939. Status: core
  4940.  
  4941. Compatibility: LimitRequestFields is only available in Apache 1.3.2 and later. 
  4942.  
  4943.  
  4944. Number is an integer from 0 (meaning unlimited) to 32767. The default value is
  4945. defined by the compile-time constant DEFAULT_LIMIT_REQUEST_FIELDS (100 as
  4946. distributed). 
  4947.  
  4948.  
  4949. The LimitRequestFields directive allows the server administrator to modify the
  4950. limit on the number of request header fields allowed in an HTTP request. A
  4951. server needs this value to be larger than the number of fields that a normal
  4952. client request might include. The number of request header fields used by a
  4953. client rarely exceeds 20, but this may vary among different client
  4954. implementations, often depending upon the extent to which a user has configured
  4955. their browser to support detailed content negotiation. Optional HTTP extensions
  4956. are often expressed using request header fields. 
  4957.  
  4958.  
  4959. This directive gives the server administrator greater control over abnormal
  4960. client request behavior, which may be useful for avoiding some forms of
  4961. denial-of-service attacks. The value should be increased if normal clients see
  4962. an error response from the server that indicates too many fields were sent in
  4963. the request.
  4964. DSTSetup:RegistryStringEnd
  4965.  
  4966. DSTSetup:RegistryValue
  4967. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestFields
  4968. Default
  4969. REG_SZ
  4970. 100
  4971.  
  4972. DSTSetup:RegistryValue
  4973. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestFields
  4974. Parent
  4975. REG_DWORD
  4976. 0
  4977.  
  4978. DSTSetup:RegistryKey
  4979. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestFieldsize
  4980.  
  4981. DSTSetup:RegistryStringStart
  4982. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestFieldsize
  4983. Description
  4984. Syntax: LimitRequestFieldsize number
  4985. Default: LimitRequestFieldsize 8190
  4986. Context: server config
  4987. Status: core
  4988.  
  4989. Compatibility: LimitRequestFieldsize is only available in Apache 1.3.2 and
  4990. later. 
  4991.  
  4992.  
  4993. Number is an integer size in bytes from 0 to the value of the compile-time
  4994. constant DEFAULT_LIMIT_REQUEST_FIELDSIZE (8190 as distributed). 
  4995.  
  4996.  
  4997. The LimitRequestFieldsize directive allows the server administrator to reduce
  4998. the limit on the allowed size of an HTTP request header field below the normal
  4999. input buffer size compiled with the server. A server needs this value to be
  5000. large enough to hold any one header field from a normal client request. The size
  5001. of a normal request header field will vary greatly among different client
  5002. implementations, often depending upon the extent to which a user has configured
  5003. their browser to support detailed content negotiation. 
  5004.  
  5005. This directive gives the server administrator greater control over abnormal
  5006. client request behavior, which may be useful for avoiding some forms of
  5007. denial-of-service attacks. Under normal conditions, the value should not be
  5008. changed from the default.
  5009. DSTSetup:RegistryStringEnd
  5010.  
  5011. DSTSetup:RegistryValue
  5012. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestFieldsize
  5013. Default
  5014. REG_SZ
  5015. 8190
  5016.  
  5017. DSTSetup:RegistryValue
  5018. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestFieldsize
  5019. Parent
  5020. REG_DWORD
  5021. 0
  5022.  
  5023. DSTSetup:RegistryKey
  5024. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestLine
  5025.  
  5026. DSTSetup:RegistryStringStart
  5027. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestLine
  5028. Description
  5029. Syntax: LimitRequestLine number
  5030. Default: LimitRequestLine 8190
  5031. Context: server config
  5032. Status: core
  5033.  
  5034. Compatibility: LimitRequestLine is only available in Apache 1.3.2 and later. 
  5035.  
  5036.  
  5037. Number is an integer size in bytes from 0 to the value of the compile-time
  5038. constant DEFAULT_LIMIT_REQUEST_LINE (8190 as distributed). 
  5039.  
  5040.  
  5041. The LimitRequestLine directive allows the server administrator to reduce the
  5042. limit on the allowed size of a client's HTTP request-line below the normal input
  5043. buffer size compiled with the server. Since the request-line consists of the
  5044. HTTP method, URI, and protocol version, the LimitRequestLine directive places a
  5045. restriction on the length of a request-URI allowed for a request on the server.
  5046. A server needs this value to be large enough to hold any of its resource names,
  5047. including any information that might be passed in the query part of a GET
  5048. request. 
  5049.  
  5050. This directive gives the server administrator greater control over abnormal
  5051. client request behavior, which may be useful for avoiding some forms of
  5052. denial-of-service attacks. Under normal conditions, the value should not be
  5053. changed from the default.
  5054. DSTSetup:RegistryStringEnd
  5055.  
  5056. DSTSetup:RegistryValue
  5057. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestLine
  5058. Default
  5059. REG_SZ
  5060. 8190
  5061.  
  5062. DSTSetup:RegistryValue
  5063. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LimitRequestLine
  5064. Parent
  5065. REG_DWORD
  5066. 0
  5067.  
  5068. DSTSetup:RegistryKey
  5069. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Listen
  5070.  
  5071. DSTSetup:RegistryStringStart
  5072. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Listen
  5073. Description
  5074. Syntax: Listen [IP address:]port number
  5075. Context: server config
  5076. Status: core
  5077.  
  5078. Compatibility: Listen is only available in Apache 1.1 and later.
  5079.  
  5080.  
  5081. The Listen directive instructs Apache to listen to more than one IP address or
  5082. port; by default it responds to requests on all IP interfaces, but only on the
  5083. port given by the Port directive.
  5084.  
  5085. Listen can be used instead of BindAddress and Port. It tells the server to
  5086. accept incoming requests on the specified port or address-and-port combination.
  5087. If the first format is used, with a port number only, the server listens to the
  5088. given port on all interfaces, instead of the port given by the Port directive.
  5089. If an IP address is given as well as a port, the server will listen on the given
  5090. port and interface. 
  5091.  
  5092.  
  5093. Note that you may still require a Port directive so that URLs that Apache
  5094. generates that point to your server still work.
  5095.  
  5096.  
  5097. Multiple Listen directives may be used to specify a number of addresses and
  5098. ports to listen to. The server will respond to requests from any of the listed
  5099. addresses and ports. 
  5100.  
  5101.  
  5102. For example, to make the server accept connections on both port 80 and port
  5103. 8000, use: 
  5104.  
  5105.  
  5106.  
  5107.    Listen 80
  5108.    Listen 8000
  5109.  
  5110. To make the server accept connections on two specified interfaces and port
  5111. numbers, use 
  5112.  
  5113.    Listen 192.170.2.1:80
  5114.    Listen 192.170.2.5:8000
  5115.  
  5116.  
  5117. See Also: DNS Issues
  5118. See Also: Setting which addresses and ports Apache uses
  5119. See Also: Known Bugs 
  5120. DSTSetup:RegistryStringEnd
  5121.  
  5122. DSTSetup:RegistryValue
  5123. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Listen
  5124. Default
  5125. REG_SZ
  5126.  
  5127.  
  5128. DSTSetup:RegistryValue
  5129. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Listen
  5130. Parent
  5131. REG_DWORD
  5132. 0
  5133.  
  5134. DSTSetup:RegistryKey
  5135. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ListenBacklog
  5136.  
  5137. DSTSetup:RegistryStringStart
  5138. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ListenBacklog
  5139. Description
  5140. Syntax: ListenBacklog backlog
  5141. Default: ListenBacklog 511
  5142. Context: server config
  5143. Status: Core
  5144.  
  5145. Compatibility: ListenBacklog is only available in Apache versions after 1.2.0. 
  5146.  
  5147. The maximum length of the queue of pending connections. Generally no tuning is
  5148. needed or desired, however on some systems it is desirable to increase this when
  5149. under a TCP SYN flood attack. See the backlog parameter to the listen(2) system
  5150. call. 
  5151.  
  5152.  
  5153. This will often be limited to a smaller number by the operating system. This
  5154. varies from OS to OS. Also note that many OSes do not use exactly what is
  5155. specified as the backlog, but use a number based on (but normally larger than)
  5156. what is set. 
  5157. DSTSetup:RegistryStringEnd
  5158.  
  5159. DSTSetup:RegistryValue
  5160. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ListenBacklog
  5161. Default
  5162. REG_SZ
  5163. 511
  5164.  
  5165. DSTSetup:RegistryValue
  5166. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ListenBacklog
  5167. Parent
  5168. REG_DWORD
  5169. 0
  5170.  
  5171. DSTSetup:RegistryKey
  5172. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LoadFile
  5173.  
  5174. DSTSetup:RegistryStringStart
  5175. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LoadFile
  5176. Description
  5177. Syntax: LoadFile filename filename ...
  5178. Context: server config
  5179. Status: Experimental
  5180. Module: mod_so
  5181.  
  5182.  
  5183.  
  5184. The LoadFile directive links in the named object files or libraries when the
  5185. server is started or restarted; this is used to load additional code which may
  5186. be required for some module to work. Filename is either and absolute path or
  5187. relative to ServerRoot.
  5188. DSTSetup:RegistryStringEnd
  5189.  
  5190. DSTSetup:RegistryValue
  5191. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LoadFile
  5192. Default
  5193. REG_SZ
  5194.  
  5195.  
  5196. DSTSetup:RegistryValue
  5197. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LoadFile
  5198. Parent
  5199. REG_DWORD
  5200. 0
  5201.  
  5202. DSTSetup:RegistryKey
  5203. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LoadModule
  5204.  
  5205. DSTSetup:RegistryStringStart
  5206. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LoadModule
  5207. Description
  5208. Syntax: LoadModule module filename
  5209. Context: server config
  5210. Status: Experimental
  5211. Module: mod_so
  5212.  
  5213.  
  5214. The LoadModule directive links in the object file or library filename and adds
  5215. the module structure named module to the list of active modules. Module is the
  5216. name of the external variable of type module in the file. Example (Unix): 
  5217.  
  5218.  
  5219.     LoadModule status_module modules/mod_status.so 
  5220.  
  5221.  
  5222. Example (Windows): 
  5223.  
  5224.  
  5225.     LoadModule status_module modules/ApacheModuleStatus.dll
  5226.  
  5227.  
  5228. loads the named module from the modules subdirectory of the ServerRoot.
  5229. DSTSetup:RegistryStringEnd
  5230.  
  5231. DSTSetup:RegistryValue
  5232. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LoadModule
  5233. Default
  5234. REG_SZ
  5235.  
  5236.  
  5237. DSTSetup:RegistryValue
  5238. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LoadModule
  5239. Parent
  5240. REG_DWORD
  5241. 0
  5242.  
  5243. DSTSetup:RegistryKey
  5244. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Location
  5245.  
  5246. DSTSetup:RegistryStringStart
  5247. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Location
  5248. Description
  5249. Syntax: <Location URL> ... </Location>
  5250. Context: server config, virtual host
  5251. Status: core
  5252.  
  5253. Compatibility: Location is only available in Apache 1.1 and later.
  5254.  
  5255. The <Location> directive provides for access control by URL. It is similar to
  5256. the <Directory> directive, and starts a subsection which is terminated with a
  5257. </Location> directive. <Location> sections are processed in the order they
  5258. appear in the configuration file, after the <Directory> sections and .htaccess
  5259. files are read, and after the <Files> sections.
  5260.  
  5261.  
  5262. Note that URLs do not have to line up with the filesystem at all, it should be
  5263. emphasized that <Location> operates completely outside the filesystem. 
  5264.  
  5265.  
  5266. For all origin (non-proxy) requests, the URL to be matched is of the form 
  5267. /path/, and you should not include any http://servername prefix. For proxy
  5268. requests, the URL to be matched is of the form scheme://servername/path, and you
  5269. must include the prefix. 
  5270.  
  5271.  
  5272. The URL may use wildcards In a wild-card string, `?' matches any single
  5273. character, and `*' matches any sequences of characters. 
  5274.  
  5275.  
  5276. Apache 1.2 and above: Extended regular expressions can also be used, with the
  5277. addition of the ~ character. For example:
  5278.  
  5279.  
  5280.    <Location ~ "/(extra|special)/data">
  5281.  
  5282.  
  5283. would match URLs that contained the substring "/extra/data" or "/special/data".
  5284. In Apache 1.3 and above, a new directive <LocationMatch> exists which behaves
  5285. identical to the regex version of <Location>. 
  5286.  
  5287.  
  5288. The Location functionality is especially useful when combined with the 
  5289. SetHandler directive. For example, to enable status requests, but allow them
  5290. only from browsers at foo.com, you might use: 
  5291.  
  5292.  
  5293.  
  5294.     <Location /status>
  5295.     SetHandler server-status
  5296.     order deny,allow
  5297.     deny from all
  5298.     allow from .foo.com
  5299.     </Location>
  5300.  
  5301.  
  5302. Apache 1.3 and above note about / (slash): The slash character has special
  5303. meaning depending on where in a URL it appears. People may be used to its
  5304. behaviour in the filesystem where multiple adjacent slashes are frequently
  5305. collapsed to a single slash (i.e., /home///foo is the same as /home/foo). In
  5306. URL-space this is not necessarily true. The <LocationMatch> directive and the
  5307. regex version of <Location> require you to explicitly specify multiple slashes
  5308. if that is your intention. For example, <LocationMatch ^/abc> would match the
  5309. request URL /abc but not the request URL //abc. The (non-regex) <Location>
  5310. directive behaves similarly when used for proxy requests. But when (non-regex) 
  5311. <Location> is used for non-proxy requests it will implicitly match multiple
  5312. slashes with a single slash. For example, if you specify <Location /abc/def> and
  5313. the request is to /abc//def then it will match. 
  5314.  
  5315. See also: How Directory, Location and Files sections work for an explanation of
  5316. how these different sections are combined when a request is received 
  5317. DSTSetup:RegistryStringEnd
  5318.  
  5319. DSTSetup:RegistryValue
  5320. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Location
  5321. Default
  5322. REG_SZ
  5323.  
  5324.  
  5325. DSTSetup:RegistryValue
  5326. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Location
  5327. Parent
  5328. REG_DWORD
  5329. 1
  5330.  
  5331. DSTSetup:RegistryKey
  5332. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LocationMatch
  5333.  
  5334. DSTSetup:RegistryStringStart
  5335. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LocationMatch
  5336. Description
  5337. Syntax: <LocationMatch regex> ... </LocationMatch>
  5338. Context: server config, virtual host
  5339. Status: core
  5340.  
  5341. Compatibility: LocationMatch is only available in Apache 1.3 and later.
  5342.  
  5343.  
  5344. The <LocationMatch> directive provides for access control by URL, in an
  5345. identical manner to <Location>. However, it takes a regular expression as an
  5346. argument instead of a simple string. For example:
  5347.  
  5348.  
  5349.  
  5350.    <LocationMatch "/(extra|special)/data">
  5351.  
  5352. would match URLs that contained the substring "/extra/data" or "/special/data".
  5353.  
  5354.  
  5355. See also: How Directory, Location and Files sections work for an explanation of
  5356. how these different sections are combined when a request is received 
  5357. DSTSetup:RegistryStringEnd
  5358.  
  5359. DSTSetup:RegistryValue
  5360. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LocationMatch
  5361. Default
  5362. REG_SZ
  5363.  
  5364.  
  5365. DSTSetup:RegistryValue
  5366. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LocationMatch
  5367. Parent
  5368. REG_DWORD
  5369. 1
  5370.  
  5371. DSTSetup:RegistryKey
  5372. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LockFile
  5373.  
  5374. DSTSetup:RegistryStringStart
  5375. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LockFile
  5376. Description
  5377. Syntax: LockFile filename
  5378. Default: LockFile logs/accept.lock
  5379. Context: server config
  5380. Status: core
  5381.  
  5382.  
  5383. The LockFile directive sets the path to the lockfile used when Apache is
  5384. compiled with either USE_FCNTL_SERIALIZED_ACCEPT or USE_FLOCK_SERIALIZED_ACCEPT.
  5385. This directive should normally be left at its default value. The main reason for
  5386. changing it is if the logs directory is NFS mounted, since the lockfile must be
  5387. stored on a local disk. The PID of the main server process is automatically
  5388. appended to the filename. 
  5389.  
  5390.  
  5391. SECURITY: It is best to avoid putting this file in a world writable directory
  5392. such as /var/tmp because someone could create a denial of service attack and
  5393. prevent the server from starting by creating a lockfile with the same name as
  5394. the one the server will try to create.
  5395. DSTSetup:RegistryStringEnd
  5396.  
  5397. DSTSetup:RegistryValue
  5398. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LockFile
  5399. Default
  5400. REG_SZ
  5401. logs/accept.lock
  5402.  
  5403. DSTSetup:RegistryValue
  5404. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LockFile
  5405. Parent
  5406. REG_DWORD
  5407. 0
  5408.  
  5409. DSTSetup:RegistryKey
  5410. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LogFormat
  5411.  
  5412. DSTSetup:RegistryStringStart
  5413. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LogFormat
  5414. Description
  5415. Syntax: LogFormat format [nickname] 
  5416. Default: LogFormat "%h %l %u %t \"%r\" %s %b"
  5417. Context: server config, virtual host
  5418. Status: Base
  5419.  
  5420. Compatibility: Nickname only available in Apache 1.3 or later 
  5421. Module: mod_log_config 
  5422.  
  5423.  
  5424. This sets the format of the default logfile named by the TransferLog directive .
  5425. See the section on Custom Log Formats for details on the format arguments. 
  5426.  
  5427.  
  5428. If you include a nickname for the format on the directive line, you can use it
  5429. in other LogFormat and CustomLog directives rather than repeating the entire
  5430. format string. 
  5431.  
  5432.  
  5433. A LogFormat directive which defines a nickname does nothing else -- that is, it 
  5434. only defines the nickname, it doesn't actually apply the format and make it the
  5435. default. 
  5436. DSTSetup:RegistryStringEnd
  5437.  
  5438. DSTSetup:RegistryValue
  5439. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LogFormat
  5440. Default
  5441. REG_SZ
  5442. "%h %l %u %t \"%r\" %s %b"
  5443.  
  5444. DSTSetup:RegistryValue
  5445. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LogFormat
  5446. Parent
  5447. REG_DWORD
  5448. 0
  5449.  
  5450. DSTSetup:RegistryKey
  5451. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LogLevel
  5452.  
  5453. DSTSetup:RegistryStringStart
  5454. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LogLevel
  5455. Description
  5456. Syntax: LogLevel level
  5457. Default: LogLevel error
  5458. Context: server config, virtual host
  5459. Status: core
  5460.  
  5461. Compatibility: LogLevel is only available in 1.3 or later. 
  5462.  
  5463.  
  5464. LogLevel adjusts the verbosity of the messages recorded in the error logs (see 
  5465. ErrorLog directive). The following levels are available, in order of decreasing
  5466. significance: 
  5467. Level Description 
  5468.       Example 
  5469.  
  5470. emerg Emergencies - system is unusable. 
  5471.       "Child cannot open lock file. Exiting" 
  5472.  
  5473. alert Action must be taken immediately. 
  5474.       "getpwuid: couldn't determine user name from uid" 
  5475.  
  5476. crit  Critical Conditions. 
  5477.       "socket: Failed to get a socket, exiting child" 
  5478.  
  5479. error Error conditions. 
  5480.       "Premature end of script headers" 
  5481.  
  5482. warn  Warning conditions. 
  5483.       "child process 1234 did not exit, sending another SIGHUP" 
  5484.  
  5485. noticeNormal but significant condition. 
  5486.       "httpd: caught SIGBUS, attempting to dump core in ..." 
  5487.  
  5488. info  Informational. 
  5489.       "Server seems busy, (you may need to increase StartServers, or
  5490.       Min/MaxSpareServers)..." 
  5491.  
  5492. debug Debug-level messages 
  5493.       "Opening config file ..." 
  5494.  
  5495.  
  5496. When a particular level is specified, messages from all other levels of higher
  5497. significance will be reported as well. E.g., when LogLevel info is specified,
  5498. then messages with log levels of notice and warn will also be posted. 
  5499.  
  5500.  
  5501. Using a level of at least crit is recommended. 
  5502. DSTSetup:RegistryStringEnd
  5503.  
  5504. DSTSetup:RegistryValue
  5505. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LogLevel
  5506. Default
  5507. REG_SZ
  5508. error
  5509.  
  5510. DSTSetup:RegistryValue
  5511. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\LogLevel
  5512. Parent
  5513. REG_DWORD
  5514. 0
  5515.  
  5516. DSTSetup:RegistryKey
  5517. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxClients
  5518.  
  5519. DSTSetup:RegistryStringStart
  5520. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxClients
  5521. Description
  5522. Syntax: MaxClients number
  5523. Default: MaxClients 256
  5524. Context: server config
  5525. Status: core
  5526.  
  5527.  
  5528.  
  5529. The MaxClients directive sets the limit on the number of simultaneous requests
  5530. that can be supported; not more than this number of child server processes will
  5531. be created. To configure more than 256 clients, you must edit the
  5532. HARD_SERVER_LIMIT entry in httpd.h and recompile. 
  5533.  
  5534. Any connection attempts over the MaxClients limit will normally be queued, up to
  5535. a number based on the ListenBacklog directive. Once a child process is freed at
  5536. the end of a different request, the connection will then be serviced. 
  5537. DSTSetup:RegistryStringEnd
  5538.  
  5539. DSTSetup:RegistryValue
  5540. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxClients
  5541. Default
  5542. REG_SZ
  5543. 256
  5544.  
  5545. DSTSetup:RegistryValue
  5546. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxClients
  5547. Parent
  5548. REG_DWORD
  5549. 0
  5550.  
  5551. DSTSetup:RegistryKey
  5552. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxKeepAliveRequests
  5553.  
  5554. DSTSetup:RegistryStringStart
  5555. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxKeepAliveRequests
  5556. Description
  5557. Syntax: MaxKeepAliveRequests number
  5558. Default: MaxKeepAliveRequests 100
  5559. Context: server config
  5560. Status: core
  5561.  
  5562. Compatibility: Only available in Apache 1.2 and later. 
  5563.  
  5564.  
  5565. The MaxKeepAliveRequests directive limits the number of requests allowed per
  5566. connection when KeepAlive is on. If it is set to "0", unlimited requests will be
  5567. allowed. We recommend that this setting be kept to a high value for maximum
  5568. server performance.
  5569. DSTSetup:RegistryStringEnd
  5570.  
  5571. DSTSetup:RegistryValue
  5572. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxKeepAliveRequests
  5573. Default
  5574. REG_SZ
  5575. 100
  5576.  
  5577. DSTSetup:RegistryValue
  5578. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxKeepAliveRequests
  5579. Parent
  5580. REG_DWORD
  5581. 0
  5582.  
  5583. DSTSetup:RegistryKey
  5584. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxRequestsPerChild
  5585.  
  5586. DSTSetup:RegistryStringStart
  5587. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxRequestsPerChild
  5588. Description
  5589. Syntax: MaxRequestsPerChild number
  5590. Default: MaxRequestsPerChild 0
  5591. Context: server config
  5592. Status: core
  5593.  
  5594.  
  5595.  
  5596. The MaxRequestsPerChild directive sets the limit on the number of requests that
  5597. an individual child server process will handle. After MaxRequestsPerChild
  5598. requests, the child process will die. If MaxRequestsPerChild is 0, then the
  5599. process will never expire.
  5600.  
  5601.  
  5602. Setting MaxRequestsPerChild to a non-zero limit has two beneficial effects: 
  5603.  
  5604.  
  5605.   * it limits the amount of memory that process can consume by (accidental)
  5606.     memory leakage; 
  5607.  
  5608.   * by giving processes a finite lifetime, it helps reduce the number of
  5609.     processes when the server load reduces. 
  5610.  
  5611. This directive has no effect on Win32. 
  5612. DSTSetup:RegistryStringEnd
  5613.  
  5614. DSTSetup:RegistryValue
  5615. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxRequestsPerChild
  5616. Default
  5617. REG_SZ
  5618. 0
  5619.  
  5620. DSTSetup:RegistryValue
  5621. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxRequestsPerChild
  5622. Parent
  5623. REG_DWORD
  5624. 0
  5625.  
  5626. DSTSetup:RegistryKey
  5627. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxSpareServers
  5628.  
  5629. DSTSetup:RegistryStringStart
  5630. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxSpareServers
  5631. Description
  5632. Syntax: MaxSpareServers number
  5633. Default: MaxSpareServers 10
  5634. Context: server config
  5635. Status: core
  5636.  
  5637.  
  5638.  
  5639. The MaxSpareServers directive sets the desired maximum number of idle child
  5640. server processes. An idle process is one which is not handling a request. If
  5641. there are more than MaxSpareServers idle, then the parent process will kill off
  5642. the excess processes.
  5643.  
  5644. Tuning of this parameter should only be necessary on very busy sites. Setting
  5645. this parameter to a large number is almost always a bad idea.
  5646.  
  5647.  
  5648. This directive has no effect when used with the Apache Web server on a Microsoft
  5649. Windows platform. 
  5650.  
  5651.  
  5652. See also MinSpareServers and StartServers.
  5653. DSTSetup:RegistryStringEnd
  5654.  
  5655. DSTSetup:RegistryValue
  5656. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxSpareServers
  5657. Default
  5658. REG_SZ
  5659. 10
  5660.  
  5661. DSTSetup:RegistryValue
  5662. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxSpareServers
  5663. Parent
  5664. REG_DWORD
  5665. 0
  5666.  
  5667. DSTSetup:RegistryKey
  5668. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaDir
  5669.  
  5670. DSTSetup:RegistryStringStart
  5671. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaDir
  5672. Description
  5673. Syntax: MetaDir directory name
  5674. Default: MetaDir .web
  5675. Context: (Apache prior to 1.3) server config
  5676. Context: (Apache 1.3) per-directory config
  5677. Status: Base
  5678. Module: mod_cern_meta
  5679.  
  5680. Compatibility: MetaDir is only available in Apache 1.1 and later.
  5681.  
  5682.  
  5683. Specifies the name of the directory in which Apache can find meta information
  5684. files. The directory is usually a 'hidden' subdirectory of the directory that
  5685. contains the file being accessed. Set to "." to look in the same directory as
  5686. the file. 
  5687. DSTSetup:RegistryStringEnd
  5688.  
  5689. DSTSetup:RegistryValue
  5690. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaDir
  5691. Default
  5692. REG_SZ
  5693. .web
  5694.  
  5695. DSTSetup:RegistryValue
  5696. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaDir
  5697. Parent
  5698. REG_DWORD
  5699. 0
  5700.  
  5701. DSTSetup:RegistryKey
  5702. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaFiles
  5703.  
  5704. DSTSetup:RegistryStringStart
  5705. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaFiles
  5706. Description
  5707. Syntax: MetaFiles on/off
  5708. Default: MetaFiles off
  5709. Context: per-directory config
  5710. Status: Base
  5711. Module: mod_cern_meta
  5712.  
  5713. Compatibility: MetaFiles is only available in Apache 1.3 and later.
  5714.  
  5715.  
  5716. Turns on/off Meta file processing on a per-directory basis. This option was
  5717. introduced in Apache 1.3. 
  5718. DSTSetup:RegistryStringEnd
  5719.  
  5720. DSTSetup:RegistryValue
  5721. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaFiles
  5722. Default
  5723. REG_SZ
  5724. off
  5725.  
  5726. DSTSetup:RegistryValue
  5727. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaFiles
  5728. Parent
  5729. REG_DWORD
  5730. 0
  5731.  
  5732. DSTSetup:RegistryKey
  5733. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaSuffix
  5734.  
  5735. DSTSetup:RegistryStringStart
  5736. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaSuffix
  5737. Description
  5738. Syntax: MetaSuffix suffix
  5739. Default: MetaSuffix .meta
  5740. Context: (Apache prior to 1.3) server config
  5741. Context: (Apache 1.3) per-directory config
  5742. Status: Base
  5743. Module: mod_cern_meta
  5744.  
  5745. Compatibility: MetaSuffix is only available in Apache 1.1 and later.
  5746.  
  5747. Specifies the file name suffix for the file containing the meta information. For
  5748. example, the default values for the two directives will cause a request to 
  5749. DOCUMENT_ROOT/somedir/index.html to look in 
  5750. DOCUMENT_ROOT/somedir/.web/index.html.meta and will use its contents to generate
  5751. additional MIME header information. 
  5752. DSTSetup:RegistryStringEnd
  5753.  
  5754. DSTSetup:RegistryValue
  5755. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaSuffix
  5756. Default
  5757. REG_SZ
  5758. .meta
  5759.  
  5760. DSTSetup:RegistryValue
  5761. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaSuffix
  5762. Parent
  5763. REG_DWORD
  5764. 0
  5765.  
  5766. DSTSetup:RegistryKey
  5767. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MimeMagicFile
  5768.  
  5769. DSTSetup:RegistryStringStart
  5770. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MimeMagicFile
  5771. Description
  5772. Syntax: MimeMagicFile magic-file-name 
  5773. Default: none 
  5774. Context: server config, virtual host 
  5775. Status: Extension 
  5776. Module: mod_mime_magic 
  5777.  
  5778.  
  5779.  
  5780. The MimeMagicFile directive can be used to enable this module, the default file
  5781. is distributed at conf/magic. Non-rooted paths are relative to the ServerRoot.
  5782. Virtual hosts will use the same file as the main server unless a more specific
  5783. setting is used, in which case the more specific setting overrides the main
  5784. server's file. 
  5785. DSTSetup:RegistryStringEnd
  5786.  
  5787. DSTSetup:RegistryValue
  5788. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MimeMagicFile
  5789. Default
  5790. REG_SZ
  5791.  
  5792.  
  5793. DSTSetup:RegistryValue
  5794. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MimeMagicFile
  5795. Parent
  5796. REG_DWORD
  5797. 0
  5798.  
  5799. DSTSetup:RegistryKey
  5800. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MinSpareServers
  5801.  
  5802. DSTSetup:RegistryStringStart
  5803. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MinSpareServers
  5804. Description
  5805. Syntax: MinSpareServers number
  5806. Default: MinSpareServers 5
  5807. Context: server config
  5808. Status: core
  5809.  
  5810.  
  5811. The MinSpareServers directive sets the desired minimum number of idle child
  5812. server processes. An idle process is one which is not handling a request. If
  5813. there are fewer than MinSpareServers idle, then the parent process creates new
  5814. children at a maximum rate of 1 per second.
  5815.  
  5816.  
  5817. Tuning of this parameter should only be necessary on very busy sites. Setting
  5818. this parameter to a large number is almost always a bad idea.
  5819.  
  5820.  
  5821. This directive has no effect on Microsoft Windows. 
  5822.  
  5823.  
  5824. See also MaxSpareServers and StartServers.
  5825. DSTSetup:RegistryStringEnd
  5826.  
  5827. DSTSetup:RegistryValue
  5828. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MinSpareServers
  5829. Default
  5830. REG_SZ
  5831. 5
  5832.  
  5833. DSTSetup:RegistryValue
  5834. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MinSpareServers
  5835. Parent
  5836. REG_DWORD
  5837. 0
  5838.  
  5839. DSTSetup:RegistryKey
  5840. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MMapFile
  5841.  
  5842. DSTSetup:RegistryStringStart
  5843. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MMapFile
  5844. Description
  5845. Syntax: MMapFile filename ... 
  5846. Default: None 
  5847. Context: server-config 
  5848. Override: Not applicable 
  5849. Status: Experimental 
  5850. Module: mod_mmap_static 
  5851.  
  5852. Compatibility: Only available in Apache 1.3 or later 
  5853.  
  5854.  
  5855. The MMapFile directive maps one or more files (given as whitespace separated
  5856. arguments) into memory at server startup time. They are automatically unmapped
  5857. on a server shutdown. When the files have changed on the filesystem at least a
  5858. HUP or USR1 signal should be send to the server to re-mmap them. 
  5859.  
  5860.  
  5861. Be careful with the filename arguments: They have to literally match the
  5862. filesystem path Apache's URL-to-filename translation handlers create. We cannot
  5863. compare inodes or other stuff to match paths through symbolic links etc. because
  5864. that again would cost extra stat() system calls which is not acceptable. This
  5865. module may or may not work with filenames rewritten by mod_alias or 
  5866. mod_rewrite... it is an experiment after all. 
  5867.  
  5868. Notice: You cannot use this for speeding up CGI programs or other files which
  5869. are served by special content handlers. It can only be used for regular files
  5870. which are usually served by the Apache core content handler. 
  5871.  
  5872.  
  5873. Example: 
  5874.  
  5875.  
  5876.  
  5877.   MMapFile /usr/local/apache/htdocs/index.html
  5878.   
  5879.  
  5880.  
  5881. Note: don't bother asking for a for a MMapDir directive which recursively maps
  5882. all the files in a directory. Use Unix the way it was meant to be used. For
  5883. example, see the Include directive, and consider this command: 
  5884.  
  5885.  
  5886.  
  5887.   find /www/htdocs -type f -print \
  5888.   | sed -e 's/.*/mmapfile &/' > /www/conf/mmap.conf
  5889.   
  5890. DSTSetup:RegistryStringEnd
  5891.  
  5892. DSTSetup:RegistryValue
  5893. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MMapFile
  5894. Default
  5895. REG_SZ
  5896.  
  5897.  
  5898. DSTSetup:RegistryValue
  5899. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MMapFile
  5900. Parent
  5901. REG_DWORD
  5902. 0
  5903.  
  5904. DSTSetup:RegistryKey
  5905. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NameVirtualHost
  5906.  
  5907. DSTSetup:RegistryStringStart
  5908. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NameVirtualHost
  5909. Description
  5910. Syntax: NameVirtualHost addr[:port]
  5911. Context: server config
  5912. Status: core
  5913.  
  5914.  
  5915.  
  5916. Compatibility: NameVirtualHost is only available in Apache 1.3 and later
  5917.  
  5918.  
  5919. The NameVirtualHost directive is a required directive if you want to configure 
  5920. name-based virtual hosts.
  5921.  
  5922.  
  5923. Although addr can be hostname it is recommended that you always use an IP
  5924. address, e.g. 
  5925.  
  5926.     NameVirtualHost 111.22.33.44
  5927.  
  5928.  
  5929. With the NameVirtualHost directive you specify the address to which your
  5930. name-based virtual host names resolve. If you have multiple name-based hosts on
  5931. multiple addresses, repeat the directive for each address.
  5932.  
  5933.  
  5934. Note: the "main server" and any _default_ servers will never be served for a
  5935. request to a NameVirtualHost IP Address (unless for some reason you specify
  5936. NameVirtualHost but then don't define any VirtualHosts for that address).
  5937.  
  5938.  
  5939. Optionally you can specify a port number on which the name-based virtual hosts
  5940. should be used, e.g. 
  5941.  
  5942.  
  5943.     NameVirtualHost 111.22.33.44:8080
  5944.  
  5945. See also: Apache Virtual Host documentation 
  5946. DSTSetup:RegistryStringEnd
  5947.  
  5948. DSTSetup:RegistryValue
  5949. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NameVirtualHost
  5950. Default
  5951. REG_SZ
  5952.  
  5953.  
  5954. DSTSetup:RegistryValue
  5955. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NameVirtualHost
  5956. Parent
  5957. REG_DWORD
  5958. 0
  5959.  
  5960. DSTSetup:RegistryKey
  5961. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NoCache
  5962.  
  5963. DSTSetup:RegistryStringStart
  5964. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NoCache
  5965. Description
  5966. Syntax: NoCache <word/host/domain list>
  5967. Default: None
  5968. Context: server config, virtual host
  5969. Override: Not applicable
  5970. Status: Base
  5971. Module: mod_proxy
  5972.  
  5973. Compatibility: NoCache is only available in Apache 1.1 and later.
  5974.  
  5975. The NoCache directive specifies a list of words, hosts and/or domains, separated
  5976. by spaces. HTTP and non-passworded FTP documents from matched words, hosts or
  5977. domains are not cached by the proxy server. The proxy module will also attempt
  5978. to determine IP addresses of list items which may be hostnames during startup,
  5979. and cache them for match test as well. Example: 
  5980.  
  5981.  
  5982.  
  5983.   NoCache joes-garage.com some-host.co.uk bullwinkle.wotsamattau.edu
  5984.  
  5985.  
  5986. 'bullwinkle.wotsamattau.edu' would also be matched if referenced by IP address.
  5987.  
  5988.  
  5989. Note that 'wotsamattau' would also be sufficient to match 'wotsamattau.edu'.
  5990.  
  5991.  
  5992. Note also that 
  5993.  
  5994.  
  5995. NoCache *
  5996.  
  5997.  
  5998. disables caching completely.
  5999. DSTSetup:RegistryStringEnd
  6000.  
  6001. DSTSetup:RegistryValue
  6002. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NoCache
  6003. Default
  6004. REG_SZ
  6005.  
  6006.  
  6007. DSTSetup:RegistryValue
  6008. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NoCache
  6009. Parent
  6010. REG_DWORD
  6011. 0
  6012.  
  6013. DSTSetup:RegistryKey
  6014. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NoProxy
  6015.  
  6016. DSTSetup:RegistryStringStart
  6017. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NoProxy
  6018. Description
  6019. Syntax: NoProxy { <Domain> | <SubNet> | <IpAddr> | <Hostname> } 
  6020. Default: None
  6021. Context: server config, virtual host
  6022. Override: Not applicable
  6023. Status: Base
  6024. Module: mod_proxy
  6025.  
  6026. Compatibility: NoProxy is only available in Apache 1.3 and later.
  6027.  
  6028.  
  6029. This directive is only useful for Apache proxy servers within intranets. The
  6030. NoProxy directive specifies a list of subnets, IP addresses, hosts and/or
  6031. domains, separated by spaces. A request to a host which matches one or more of
  6032. these is always served directly, without forwarding to the configured
  6033. ProxyRemote proxy server(s). 
  6034.  
  6035.  
  6036. Example: 
  6037.  
  6038.  
  6039.  
  6040.   ProxyRemote  *  http://firewall.mycompany.com:81
  6041.   NoProxy         .mycompany.com 192.168.112.0/21 
  6042.  
  6043. The arguments to the NoProxy directive are one of the following type list: 
  6044.  
  6045.  
  6046. Domain 
  6047.      A Domain is a partially qualified DNS domain name, preceded by a period. It
  6048.      represents a list of hosts which logically belong to the same DNS domain or
  6049.      zone (i.e., the suffixes of the hostnames are all ending in Domain).
  6050.      Examples: .com .apache.org.
  6051.      To distinguish Domains from Hostnames (both syntactically and semantically;
  6052.      a DNS domain can have a DNS A record, too!), Domains are always written
  6053.      with a leading period.
  6054.      Note: Domain name comparisons are done without regard to the case, and 
  6055.      Domains are always assumed to be anchored in the root of the DNS tree,
  6056.      therefore two domains .MyDomain.com and .mydomain.com. (note the trailing
  6057.      period) are considered equal. Since a domain comparison does not involve a
  6058.      DNS lookup, it is much more efficient than subnet comparison. 
  6059.  
  6060.  
  6061. SubNet 
  6062.      A SubNet is a partially qualified internet address in numeric (dotted quad)
  6063.      form, optionally followed by a slash and the netmask, specified as the
  6064.      number of significant bits in the SubNet. It is used to represent a subnet
  6065.      of hosts which can be reached over a common network interface. In the
  6066.      absence of the explicit net mask it is assumed that omitted (or zero
  6067.      valued) trailing digits specify the mask. (In this case, the netmask can
  6068.      only be multiples of 8 bits wide.)
  6069.      Examples: 
  6070.  
  6071.  
  6072.      192.168 or 192.168.0.0 
  6073.           the subnet 192.168.0.0 with an implied netmask of 16 valid bits
  6074.           (sometimes used in the netmask form 255.255.0.0) 
  6075.  
  6076.  
  6077.      192.168.112.0/21 
  6078.           the subnet 192.168.112.0/21 with a netmask of 21 valid bits (also used
  6079.           in the form 255.255.248.0) 
  6080.  
  6081.      As a degenerate case, a SubNet with 32 valid bits is the equivalent to an 
  6082.      IPAddr, while a SubNet with zero valid bits (e.g., 0.0.0.0/0) is the same
  6083.      as the constant _Default_, matching any IP address. 
  6084.  
  6085.  
  6086. IPAddr 
  6087.      A IPAddr represents a fully qualified internet address in numeric (dotted
  6088.      quad) form. Usually, this address represents a host, but there need not
  6089.      necessarily be a DNS domain name connected with the address.
  6090.      Example: 192.168.123.7
  6091.      Note: An IPAddr does not need to be resolved by the DNS system, so it can
  6092.      result in more effective apache performance. 
  6093.  
  6094.  
  6095.      See Also: DNS Issues
  6096.  
  6097.  
  6098. Hostname 
  6099.      A Hostname is a fully qualified DNS domain name which can be resolved to
  6100.      one or more IPAddrs via the DNS domain name service. It represents a
  6101.      logical host (in contrast to Domains, see above) and must be resolvable to
  6102.      at least one IPAddr (or often to a list of hosts with different IPAddr's).
  6103.      Examples: prep.ai.mit.edu www.apache.org.
  6104.      Note: In many situations, it is more effective to specify an IPAddr in
  6105.      place of a Hostname since a DNS lookup can be avoided. Name resolution in
  6106.      Apache can take a remarkable deal of time when the connection to the name
  6107.      server uses a slow PPP link.
  6108.      Note: Hostname comparisons are done without regard to the case, and 
  6109.      Hostnames are always assumed to be anchored in the root of the DNS tree,
  6110.      therefore two hosts WWW.MyDomain.com and www.mydomain.com. (note the
  6111.      trailing period) are considered equal.
  6112.  
  6113.  
  6114.      See Also: DNS Issues
  6115. DSTSetup:RegistryStringEnd
  6116.  
  6117. DSTSetup:RegistryValue
  6118. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NoProxy
  6119. Default
  6120. REG_SZ
  6121.  
  6122.  
  6123. DSTSetup:RegistryValue
  6124. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\NoProxy
  6125. Parent
  6126. REG_DWORD
  6127. 0
  6128.  
  6129. DSTSetup:RegistryKey
  6130. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Options
  6131.  
  6132. DSTSetup:RegistryStringStart
  6133. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Options
  6134. Description
  6135. Syntax: Options [+|-]option [+|-]option ...
  6136. Context: server config, virtual host, directory, .htaccess
  6137. Override: Options
  6138. Status: core
  6139.  
  6140.  
  6141.  
  6142. The Options directive controls which server features are available in a
  6143. particular directory. 
  6144.  
  6145.  
  6146. option can be set to None, in which case none of the extra features are enabled,
  6147. or one or more of the following: 
  6148.  
  6149. All 
  6150.      All options except for MultiViews. This is the default setting. 
  6151.  
  6152.  
  6153. ExecCGI 
  6154.      Execution of CGI scripts is permitted. 
  6155.  
  6156.  
  6157. FollowSymLinks 
  6158.      The server will follow symbolic links in this directory. 
  6159.      Note: even though the server follows the symlink it does not change the
  6160.      pathname used to match against <Directory> sections. 
  6161.      Note: this option gets ignored if set inside a <Location> section. 
  6162.  
  6163.  
  6164. Includes 
  6165.      Server-side includes are permitted. 
  6166.  
  6167.  
  6168. IncludesNOEXEC 
  6169.      Server-side includes are permitted, but the #exec command and #include of
  6170.      CGI scripts are disabled. 
  6171. Indexes 
  6172.      If a URL which maps to a directory is requested, and the there is no
  6173.      DirectoryIndex (e.g., index.html) in that directory, then the server will
  6174.      return a formatted listing of the directory. 
  6175.  
  6176.  
  6177. MultiViews 
  6178.      Content negotiated MultiViews are allowed. 
  6179.  
  6180.  
  6181. SymLinksIfOwnerMatch 
  6182.      The server will only follow symbolic links for which the target file or
  6183.      directory is owned by the same user id as the link. 
  6184.      Note: this option gets ignored if set inside a <Location> section. 
  6185.  
  6186.  
  6187. Normally, if multiple Options could apply to a directory, then the most specific
  6188. one is taken complete; the options are not merged. However if all the options on
  6189. the Options directive are preceded by a + or - symbol, the options are merged.
  6190. Any options preceded by a + are added to the options currently in force, and any
  6191. options preceded by a - are removed from the options currently in force. 
  6192.  
  6193.  
  6194. For example, without any + and - symbols: 
  6195.  
  6196.     <Directory /web/docs> 
  6197.     Options Indexes FollowSymLinks
  6198.     </Directory>
  6199.     <Directory /web/docs/spec> 
  6200.     Options Includes
  6201.     </Directory> 
  6202.  
  6203.  
  6204. then only Includes will be set for the /web/docs/spec directory. However if the
  6205. second Options directive uses the + and - symbols:
  6206.  
  6207.  
  6208.  
  6209.     <Directory /web/docs> 
  6210.     Options Indexes FollowSymLinks
  6211.     </Directory>
  6212.     <Directory /web/docs/spec> 
  6213.     Options +Includes -Indexes
  6214.     </Directory> 
  6215.  
  6216.  
  6217. then the options FollowSymLinks and Includes are set for the /web/docs/spec
  6218. directory.
  6219.  
  6220.  
  6221. Note: Using -IncludesNOEXEC or -Includes disables server-side includes
  6222. completely regardless of the previous setting.
  6223.  
  6224. The default in the absence of any other settings is All.
  6225. DSTSetup:RegistryStringEnd
  6226.  
  6227. DSTSetup:RegistryValue
  6228. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Options
  6229. Default
  6230. REG_SZ
  6231.  
  6232.  
  6233. DSTSetup:RegistryValue
  6234. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Options
  6235. Parent
  6236. REG_DWORD
  6237. 0
  6238.  
  6239. DSTSetup:RegistryKey
  6240. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\order
  6241.  
  6242. DSTSetup:RegistryStringStart
  6243. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\order
  6244. Description
  6245. Syntax: order ordering
  6246. Default: order deny,allow
  6247. Context: directory, .htaccess
  6248. Override: Limit
  6249. Status: Base
  6250. Module: mod_access 
  6251.  
  6252.  
  6253.  
  6254. The order directive controls the order in which allow and deny directives are
  6255. evaluated. Ordering is one of 
  6256.  
  6257.  
  6258. deny,allow 
  6259.      the deny directives are evaluated before the allow directives. (The initial
  6260.      state is OK.) 
  6261.  
  6262.  
  6263. allow,deny 
  6264.      the allow directives are evaluated before the deny directives. (The initial
  6265.      state is FORBIDDEN.) 
  6266.  
  6267.  
  6268. mutual-failure 
  6269.      Only those hosts which appear on the allow list and do not appear on the
  6270.      deny list are granted access. (The initial state is irrelevant.) 
  6271.  
  6272. Note that in all cases every allow and deny statement is evaluated, there is no
  6273. "short-circuiting". 
  6274.  
  6275.  
  6276. Example: 
  6277.  
  6278.  
  6279.     order deny,allow
  6280.     deny from all
  6281.     allow from .ncsa.uiuc.edu
  6282.  
  6283.  
  6284. Hosts in the ncsa.uiuc.edu domain are allowed access; all other hosts are denied
  6285. access. 
  6286. DSTSetup:RegistryStringEnd
  6287.  
  6288. DSTSetup:RegistryValue
  6289. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\order
  6290. Default
  6291. REG_SZ
  6292. deny,allow
  6293.  
  6294. DSTSetup:RegistryValue
  6295. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\order
  6296. Parent
  6297. REG_DWORD
  6298. 0
  6299.  
  6300. DSTSetup:RegistryKey
  6301. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\PassEnv
  6302.  
  6303. DSTSetup:RegistryStringStart
  6304. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\PassEnv
  6305. Description
  6306. Syntax: PassEnv variable variable ...
  6307. Context: server config, virtual host
  6308. Status: Base
  6309. Module: mod_env
  6310.  
  6311. Compatibility: PassEnv is only available in Apache 1.1 and later.
  6312.  
  6313. Specifies one or more environment variables to pass to CGI scripts from the
  6314. server's own environment. Example: 
  6315.  
  6316.  
  6317.  
  6318.     PassEnv LD_LIBRARY_PATH
  6319. DSTSetup:RegistryStringEnd
  6320.  
  6321. DSTSetup:RegistryValue
  6322. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\PassEnv
  6323. Default
  6324. REG_SZ
  6325.  
  6326.  
  6327. DSTSetup:RegistryValue
  6328. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\PassEnv
  6329. Parent
  6330. REG_DWORD
  6331. 0
  6332.  
  6333. DSTSetup:RegistryKey
  6334. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\PidFile
  6335.  
  6336. DSTSetup:RegistryStringStart
  6337. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\PidFile
  6338. Description
  6339. Syntax: PidFile filename
  6340. Default: PidFile logs/httpd.pid
  6341. Context: server config
  6342. Status: core
  6343.  
  6344.  
  6345.  
  6346. The PidFile directive sets the file to which the server records the process id
  6347. of the daemon. If the filename does not begin with a slash (/) then it is
  6348. assumed to be relative to the ServerRoot. The PidFile is only used in standalone
  6349. mode.
  6350.  
  6351. It is often useful to be able to send the server a signal, so that it closes and
  6352. then reopens its ErrorLog and TransferLog, and re-reads its configuration files.
  6353. This is done by sending a SIGHUP (kill -1) signal to the process id listed in
  6354. the PidFile.
  6355.  
  6356.  
  6357. The PidFile is subject to the same warnings about log file placement and 
  6358. security. 
  6359. DSTSetup:RegistryStringEnd
  6360.  
  6361. DSTSetup:RegistryValue
  6362. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\PidFile
  6363. Default
  6364. REG_SZ
  6365. logs/httpd.pid
  6366.  
  6367. DSTSetup:RegistryValue
  6368. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\PidFile
  6369. Parent
  6370. REG_DWORD
  6371. 0
  6372.  
  6373. DSTSetup:RegistryKey
  6374. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Port
  6375.  
  6376. DSTSetup:RegistryStringStart
  6377. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Port
  6378. Description
  6379. Syntax: Port number
  6380. Default: Port 80
  6381. Context: server config
  6382. Status: core
  6383.  
  6384.  
  6385.  
  6386. Number is a number from 0 to 65535; some port numbers (especially below 1024)
  6387. are reserved for particular protocols. See /etc/services for a list of some
  6388. defined ports; the standard port for the http protocol is 80.
  6389.  
  6390. The Port directive has two behaviors, the first of which is necessary for NCSA
  6391. backwards compatibility (and which is confusing in the context of Apache).
  6392.  
  6393.  
  6394.   * In the absence of any Listen or BindAddress directives specifying a port
  6395.     number, a Port directive given in the "main server" (i.e., outside any 
  6396.     <VirtualHost> section) sets the network port on which the server listens. If
  6397.     there are any Listen or BindAddress directives specifying :number then Port
  6398.     has no effect on what address the server listens at. 
  6399.  
  6400.   * The Port directive sets the SERVER_PORT environment variable (for CGI and 
  6401.     SSI), and is used when the server must generate a URL that refers to itself
  6402.     (for example when creating an external redirect to itself). This behaviour
  6403.     is modified by UseCanonicalName. 
  6404.  
  6405.  
  6406. In no event does a Port setting affect what ports a VirtualHost responds on, the
  6407. VirtualHost directive itself is used for that.
  6408.  
  6409.  
  6410. The primary behaviour of Port should be considered to be similar to that of the 
  6411. ServerName directive. The ServerName and Port together specify what you consider
  6412. to be the canonical address of the server. (See also UseCanonicalName.)
  6413.  
  6414.  
  6415. Port 80 is one of Unix's special ports. All ports numbered below 1024 are
  6416. reserved for system use, i.e., regular (non-root) users cannot make use of them;
  6417. instead they can only use higher port numbers. To use port 80, you must start
  6418. the server from the root account. After binding to the port and before accepting
  6419. requests, Apache will change to a low privileged user as set by the User
  6420. directive.
  6421.  
  6422. If you cannot use port 80, choose any other unused port. Non-root users will
  6423. have to choose a port number higher than 1023, such as 8000.
  6424.  
  6425.  
  6426. SECURITY: if you do start the server as root, be sure not to set User to root.
  6427. If you run the server as root whilst handling connections, your site may be open
  6428. to a major security attack.
  6429. DSTSetup:RegistryStringEnd
  6430.  
  6431. DSTSetup:RegistryValue
  6432. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Port
  6433. Default
  6434. REG_SZ
  6435. 80
  6436.  
  6437. DSTSetup:RegistryValue
  6438. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Port
  6439. Parent
  6440. REG_DWORD
  6441. 0
  6442.  
  6443. DSTSetup:RegistryKey
  6444. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyBlock
  6445.  
  6446. DSTSetup:RegistryStringStart
  6447. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyBlock
  6448. Description
  6449. Syntax: ProxyBlock <word/host/domain list>
  6450. Default: None
  6451. Context: server config, virtual host
  6452. Override: Not applicable
  6453. Status: Base
  6454. Module: mod_proxy
  6455.  
  6456. Compatibility: ProxyBlock is only available in Apache 1.2 and later.
  6457.  
  6458.  
  6459. The ProxyBlock directive specifies a list of words, hosts and/or domains,
  6460. separated by spaces. HTTP, HTTPS, and FTP document requests to matched words,
  6461. hosts or domains are blocked by the proxy server. The proxy module will also
  6462. attempt to determine IP addresses of list items which may be hostnames during
  6463. startup, and cache them for match test as well. Example: 
  6464.  
  6465.  
  6466.  
  6467.   ProxyBlock joes-garage.com some-host.co.uk rocky.wotsamattau.edu
  6468.  
  6469.  
  6470. 'rocky.wotsamattau.edu' would also be matched if referenced by IP address.
  6471.  
  6472. Note that 'wotsamattau' would also be sufficient to match 'wotsamattau.edu'.
  6473.  
  6474.  
  6475. Note also that 
  6476.  
  6477.  
  6478.  
  6479. ProxyBlock *
  6480.  
  6481.  
  6482. blocks connections to all sites. 
  6483. DSTSetup:RegistryStringEnd
  6484.  
  6485. DSTSetup:RegistryValue
  6486. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyBlock
  6487. Default
  6488. REG_SZ
  6489.  
  6490.  
  6491. DSTSetup:RegistryValue
  6492. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyBlock
  6493. Parent
  6494. REG_DWORD
  6495. 0
  6496.  
  6497. DSTSetup:RegistryKey
  6498. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyDomain
  6499.  
  6500. DSTSetup:RegistryStringStart
  6501. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyDomain
  6502. Description
  6503. Syntax: ProxyDomain <Domain>
  6504. Default: None
  6505. Context: server config, virtual host
  6506. Override: Not applicable
  6507. Status: Base
  6508. Module: mod_proxy
  6509.  
  6510. Compatibility: ProxyDomain is only available in Apache 1.3 and later.
  6511.  
  6512. This directive is only useful for Apache proxy servers within intranets. The
  6513. ProxyDomain directive specifies the default domain which the apache proxy server
  6514. will belong to. If a request to a host without a domain name is encountered, a
  6515. redirection response to the same host with the configured Domain appended will
  6516. be generated. 
  6517.  
  6518. Example: 
  6519.  
  6520.  
  6521.  
  6522.   ProxyRemote  *  http://firewall.mycompany.com:81
  6523.   NoProxy         .mycompany.com 192.168.112.0/21 
  6524.   ProxyDomain     .mycompany.com
  6525. DSTSetup:RegistryStringEnd
  6526.  
  6527. DSTSetup:RegistryValue
  6528. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyDomain
  6529. Default
  6530. REG_SZ
  6531.  
  6532.  
  6533. DSTSetup:RegistryValue
  6534. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyDomain
  6535. Parent
  6536. REG_DWORD
  6537. 0
  6538.  
  6539. DSTSetup:RegistryKey
  6540. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyPass
  6541.  
  6542. DSTSetup:RegistryStringStart
  6543. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyPass
  6544. Description
  6545. Syntax: ProxyPass <path> <url>
  6546. Default: None
  6547. Context: server config, virtual host
  6548. Override: Not applicable
  6549. Status: Base
  6550. Module: mod_proxy
  6551.  
  6552. Compatibility: ProxyPass is only available in Apache 1.1 and later.
  6553.  
  6554.  
  6555. This directive allows remote servers to be mapped into the space of the local
  6556. server; the local server does not act as a proxy in the conventional sense, but
  6557. appears to be a mirror of the remote server. <path> is the name of a local
  6558. virtual path; <url> is a partial URL for the remote server. 
  6559.  
  6560.  
  6561. Suppose the local server has address http://wibble.org/; then 
  6562.  
  6563.  
  6564.    ProxyPass /mirror/foo/ http://foo.com/
  6565.  
  6566.  
  6567. will cause a local request for the <http://wibble.org/mirror/foo/bar> to be
  6568. internally converted into a proxy request to <http://foo.com/bar>. 
  6569. DSTSetup:RegistryStringEnd
  6570.  
  6571. DSTSetup:RegistryValue
  6572. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyPass
  6573. Default
  6574. REG_SZ
  6575.  
  6576.  
  6577. DSTSetup:RegistryValue
  6578. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyPass
  6579. Parent
  6580. REG_DWORD
  6581. 0
  6582.  
  6583. DSTSetup:RegistryKey
  6584. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyPassReverse
  6585.  
  6586. DSTSetup:RegistryStringStart
  6587. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyPassReverse
  6588. Description
  6589. Syntax: ProxyPassReverse <path> <url>
  6590. Default: None
  6591. Context: server config, virtual host
  6592. Override: Not applicable
  6593. Status: Base
  6594. Module: mod_proxy
  6595.  
  6596. Compatibility: ProxyPassReverse is only available in Apache 1.3b6 and later.
  6597.  
  6598. This directive lets Apache adjust the URL in the Location header on HTTP
  6599. redirect responses. For instance this is essential when Apache is used as a
  6600. reverse proxy to avoid by-passing the reverse proxy because of HTTP redirects on
  6601. the backend servers which stay behind the reverse proxy. 
  6602.  
  6603.  
  6604. <path> is the name of a local virtual path.
  6605. <url> is a partial URL for the remote server - the same way they are used for
  6606. the ProxyPass directive. 
  6607.  
  6608.  
  6609. Example:
  6610. Suppose the local server has address http://wibble.org/; then 
  6611.  
  6612.  
  6613.  
  6614.    ProxyPass         /mirror/foo/ http://foo.com/
  6615.    ProxyPassReverse  /mirror/foo/ http://foo.com/
  6616.  
  6617.  
  6618. will not only cause a local request for the <http://wibble.org/mirror/foo/bar>
  6619. to be internally converted into a proxy request to <http://foo.com/bar> (the
  6620. functionality ProxyPass provides here). It also takes care of redirects the
  6621. server foo.com sends: when http://foo.com/bar is redirected by him to 
  6622. http://foo.com/quux Apache adjusts this to http://wibble.org/mirror/foo/quux
  6623. before forwarding the HTTP redirect response to the client. 
  6624.  
  6625. Note that this ProxyPassReverse directive can also by used in conjunction with
  6626. the proxy pass-through feature ("RewriteRule ... [P]") from mod_rewrite because
  6627. its doesn't depend on a corresponding ProxyPass directive. 
  6628. DSTSetup:RegistryStringEnd
  6629.  
  6630. DSTSetup:RegistryValue
  6631. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyPassReverse
  6632. Default
  6633. REG_SZ
  6634.  
  6635.  
  6636. DSTSetup:RegistryValue
  6637. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyPassReverse
  6638. Parent
  6639. REG_DWORD
  6640. 0
  6641.  
  6642. DSTSetup:RegistryKey
  6643. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyReceiveBufferSize
  6644.  
  6645. DSTSetup:RegistryStringStart
  6646. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyReceiveBufferSize
  6647. Description
  6648. Syntax: ProxyReceiveBufferSize <bytes>
  6649. Default: None
  6650. Context: server config, virtual host
  6651. Override: Not applicable
  6652. Status: Base
  6653. Module: mod_proxy
  6654.  
  6655. Compatibility: ProxyReceiveBufferSize is only available in Apache 1.3 and later.
  6656.  
  6657.  
  6658. The ProxyReceiveBufferSize directive specifies an explicit network buffer size
  6659. for outgoing HTTP and FTP connections, for increased throughput. It has to be
  6660. greater than 512 or set to 0 to indicate that the system's default buffer size
  6661. should be used. 
  6662.  
  6663.  
  6664. Example: 
  6665.  
  6666.  
  6667.  
  6668.   ProxyReceiveBufferSize 2048
  6669. DSTSetup:RegistryStringEnd
  6670.  
  6671. DSTSetup:RegistryValue
  6672. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyReceiveBufferSize
  6673. Default
  6674. REG_SZ
  6675.  
  6676.  
  6677. DSTSetup:RegistryValue
  6678. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyReceiveBufferSize
  6679. Parent
  6680. REG_DWORD
  6681. 0
  6682.  
  6683. DSTSetup:RegistryKey
  6684. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyRemote
  6685.  
  6686. DSTSetup:RegistryStringStart
  6687. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyRemote
  6688. Description
  6689. Syntax: ProxyRemote <match> <remote-server>
  6690. Default: None
  6691. Context: server config, virtual host
  6692. Override: Not applicable
  6693. Status: Base
  6694. Module: mod_proxy
  6695.  
  6696. Compatibility: ProxyRemote is only available in Apache 1.1 and later.
  6697.  
  6698. This defines remote proxies to this proxy. <match> is either the name of a
  6699. URL-scheme that the remote server supports, or a partial URL for which the
  6700. remote server should be used, or '*' to indicate the server should be contacted
  6701. for all requests. <remote-server> is a partial URL for the remote server.
  6702. Syntax: 
  6703.  
  6704.  
  6705.  
  6706.   <remote-server> = <protocol>://<hostname>[:port]
  6707.  
  6708.  
  6709. <protocol> is the protocol that should be used to communicate with the remote
  6710. server; only "http" is supported by this module. 
  6711.  
  6712.  
  6713. Example: 
  6714.  
  6715.  
  6716.  
  6717.   ProxyRemote http://goodguys.com/ http://mirrorguys.com:8000
  6718.   ProxyRemote * http://cleversite.com
  6719.   ProxyRemote ftp http://ftpproxy.mydomain.com:8080
  6720.  
  6721. In the last example, the proxy will forward FTP requests, encapsulated as yet
  6722. another HTTP proxy request, to another proxy which can handle them. 
  6723. DSTSetup:RegistryStringEnd
  6724.  
  6725. DSTSetup:RegistryValue
  6726. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyRemote
  6727. Default
  6728. REG_SZ
  6729.  
  6730.  
  6731. DSTSetup:RegistryValue
  6732. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyRemote
  6733. Parent
  6734. REG_DWORD
  6735. 0
  6736.  
  6737. DSTSetup:RegistryKey
  6738. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyRequests
  6739.  
  6740. DSTSetup:RegistryStringStart
  6741. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyRequests
  6742. Description
  6743. Syntax: ProxyRequests on/off
  6744. Default: ProxyRequests Off
  6745. Context: server config, virtual host
  6746. Override: Not applicable
  6747. Status: Base
  6748. Module: mod_proxy
  6749.  
  6750. Compatibility: ProxyRequests is only available in Apache 1.1 and later.
  6751.  
  6752.  
  6753. This allows or prevents Apache from functioning as a proxy server. Setting
  6754. ProxyRequests to 'off' does not disable use of the ProxyPass directive. 
  6755. DSTSetup:RegistryStringEnd
  6756.  
  6757. DSTSetup:RegistryValue
  6758. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyRequests
  6759. Default
  6760. REG_SZ
  6761. Off
  6762.  
  6763. DSTSetup:RegistryValue
  6764. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyRequests
  6765. Parent
  6766. REG_DWORD
  6767. 0
  6768.  
  6769. DSTSetup:RegistryKey
  6770. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyVia
  6771.  
  6772. DSTSetup:RegistryStringStart
  6773. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyVia
  6774. Description
  6775. Syntax: ProxyVia { off | on | full | block }
  6776. Default: ProxyVia off
  6777. Context: server config, virtual host
  6778. Override: Not applicable
  6779. Status: Base
  6780. Module: mod_proxy
  6781.  
  6782. Compatibility: ProxyVia is only available in Apache 1.3.2 and later.
  6783.  
  6784. This directive controls the use of the Via: HTTP header by the proxy. Its
  6785. intended use is to control the flow of of proxy requests along a chain of proxy
  6786. servers. See RFC2068 (HTTP/1.1) for an explanation of Via: header lines.
  6787.  
  6788.  
  6789.   * If set to off, which is the default, no special processing is performed. If
  6790.     a request or reply contains a Via: header, it is passed through unchanged. 
  6791.  
  6792.   * If set to on, each request and reply will get a Via: header line added for
  6793.     the current host. 
  6794.  
  6795.   * If set to full, each generated Via: header line will additionally have the
  6796.     Apache server version shown as a Via: comment field. 
  6797.  
  6798.   * If set to block, every proxy request will have all its Via: header lines
  6799.     removed. No new Via: header will be generated. 
  6800. DSTSetup:RegistryStringEnd
  6801.  
  6802. DSTSetup:RegistryValue
  6803. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyVia
  6804. Default
  6805. REG_SZ
  6806. off
  6807.  
  6808. DSTSetup:RegistryValue
  6809. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyVia
  6810. Parent
  6811. REG_DWORD
  6812. 0
  6813.  
  6814. DSTSetup:RegistryKey
  6815. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ReadmeName
  6816.  
  6817. DSTSetup:RegistryStringStart
  6818. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ReadmeName
  6819. Description
  6820. Syntax: ReadmeName filename
  6821. Context: server config, virtual host, directory, .htaccess
  6822. Override: Indexes
  6823. Status: Base
  6824. Module: mod_autoindex
  6825.  
  6826.  
  6827.  
  6828. The ReadmeName directive sets the name of the file that will be appended to the
  6829. end of the index listing. Filename is the name of the file to include, and is
  6830. taken to be relative to the directory being indexed. The server first attempts
  6831. to include filename.html as an HTML document, otherwise it will include filename
  6832. as plain text. Example: 
  6833.  
  6834.  
  6835.     ReadmeName README
  6836.  
  6837.  
  6838. when indexing the directory /web, the server will first look for the HTML file 
  6839. /web/README.html and include it if found, otherwise it will include the plain
  6840. text file /web/README, if it exists. 
  6841.  
  6842.  
  6843. See also HeaderName.
  6844. DSTSetup:RegistryStringEnd
  6845.  
  6846. DSTSetup:RegistryValue
  6847. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ReadmeName
  6848. Default
  6849. REG_SZ
  6850.  
  6851.  
  6852. DSTSetup:RegistryValue
  6853. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ReadmeName
  6854. Parent
  6855. REG_DWORD
  6856. 0
  6857.  
  6858. DSTSetup:RegistryKey
  6859. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Redirect
  6860.  
  6861. DSTSetup:RegistryStringStart
  6862. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Redirect
  6863. Description
  6864. Syntax: Redirect [ status ] url-path url
  6865. Context: server config, virtual host, directory, .htaccess
  6866. Status: Base
  6867. Module: mod_alias
  6868.  
  6869. Compatibility: The directory and .htaccess context's are only available in
  6870. versions 1.1 and later. The status argument is only available in Apache 1.2 or
  6871. later. 
  6872.  
  6873.  
  6874. The Redirect directive maps an old URL into a new one. The new URL is returned
  6875. to the client which attempts to fetch it again with the new address. Url-path a
  6876. (%-decoded) path; any requests for documents beginning with this path will be
  6877. returned a redirect error to a new (%-encoded) url beginning with url. 
  6878.  
  6879.  
  6880. Example: 
  6881.  
  6882.     Redirect /service http://foo2.bar.com/service
  6883.  
  6884.  
  6885. If the client requests http://myserver/service/foo.txt, it will be told to
  6886. access http://foo2.bar.com/service/foo.txt instead. 
  6887.  
  6888.  
  6889. Note: Redirect directives take precedence over Alias and ScriptAlias directives,
  6890. irrespective of their ordering in the configuration file. Also, Url-path must be
  6891. an absolute path, not a relative path, even when used with .htaccess files or
  6892. inside of <Directory> sections. 
  6893.  
  6894.  
  6895. If no status argument is given, the redirect will be "temporary" (HTTP status
  6896. 302). This indicates to the client that the resources is has moved temporarily.
  6897. The status argument can be used to return other HTTP status codes: 
  6898.  
  6899.  
  6900. permanent 
  6901.      Returns a permanent redirect status (301) indicating that the resource has
  6902.      moved permanently. 
  6903.  
  6904. temp 
  6905.      Returns a temporary redirect status (302). This is the default. 
  6906.  
  6907.  
  6908. seeother 
  6909.      Returns a "See Other" status (303) indicating that the resource has been
  6910.      replaced. 
  6911.  
  6912.  
  6913. gone 
  6914.      Returns a "Gone" status (410) indicating that the resource has been
  6915.      permanently removed. When this status is used the url argument should be
  6916.      omitted. 
  6917.  
  6918.  
  6919. Other status codes can be returned by giving the numeric status code as the
  6920. value of status. If the status is between 300 and 399, the url argument must be
  6921. present, otherwise it must be omitted. Note that the status must be known to the
  6922. Apache code (see the function send_error_response in http_protocol.c). 
  6923. DSTSetup:RegistryStringEnd
  6924.  
  6925. DSTSetup:RegistryValue
  6926. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Redirect
  6927. Default
  6928. REG_SZ
  6929.  
  6930.  
  6931. DSTSetup:RegistryValue
  6932. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Redirect
  6933. Parent
  6934. REG_DWORD
  6935. 0
  6936.  
  6937. DSTSetup:RegistryKey
  6938. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectMatch
  6939.  
  6940. DSTSetup:RegistryStringStart
  6941. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectMatch
  6942. Description
  6943. Syntax: RedirectMatch [status] regex url 
  6944. Context: server config, virtual host
  6945. Status: Base
  6946. Module: mod_alias
  6947.  
  6948. Compatibility: Available in Apache 1.3 and later 
  6949.  
  6950.  
  6951. This directive is equivalent to Redirect, but makes use of standard regular
  6952. expressions, instead of simple prefix matching. The supplied regular expression
  6953. is matched against the URL, and if it matches, the server will substitute any
  6954. parenthesized matches into the given string and use it as a filename. For
  6955. example, to redirect all GIF files to like-named JPEG files on another server,
  6956. one might use: 
  6957.  
  6958.  
  6959.  
  6960.     RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg
  6961. DSTSetup:RegistryStringEnd
  6962.  
  6963. DSTSetup:RegistryValue
  6964. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectMatch
  6965. Default
  6966. REG_SZ
  6967.  
  6968.  
  6969. DSTSetup:RegistryValue
  6970. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectMatch
  6971. Parent
  6972. REG_DWORD
  6973. 0
  6974.  
  6975. DSTSetup:RegistryKey
  6976. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectPermanent
  6977.  
  6978. DSTSetup:RegistryStringStart
  6979. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectPermanent
  6980. Description
  6981. Syntax: RedirectPermanent url-path url
  6982. Context: server config, virtual host, directory, .htaccess
  6983. Status: Base
  6984. Module: mod_alias
  6985.  
  6986. Compatibility: This directive is only available in 1.2 
  6987.  
  6988.  
  6989. This directive makes the client know that the Redirect is permanent (status
  6990. 301). Exactly equivalent to Redirect permanent. 
  6991. DSTSetup:RegistryStringEnd
  6992.  
  6993. DSTSetup:RegistryValue
  6994. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectPermanent
  6995. Default
  6996. REG_SZ
  6997.  
  6998.  
  6999. DSTSetup:RegistryValue
  7000. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectPermanent
  7001. Parent
  7002. REG_DWORD
  7003. 0
  7004.  
  7005. DSTSetup:RegistryKey
  7006. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectTemp
  7007.  
  7008. DSTSetup:RegistryStringStart
  7009. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectTemp
  7010. Description
  7011. Syntax: RedirectTemp url-path url
  7012. Context: server config, virtual host, directory, .htaccess
  7013. Status: Base
  7014. Module: mod_alias
  7015.  
  7016. Compatibility: This directive is only available in 1.2 
  7017.  
  7018.  
  7019. This directive makes the client know that the Redirect is only temporary (status
  7020. 302). Exactly equivalent to Redirect temporary. 
  7021. DSTSetup:RegistryStringEnd
  7022.  
  7023. DSTSetup:RegistryValue
  7024. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectTemp
  7025. Default
  7026. REG_SZ
  7027.  
  7028.  
  7029. DSTSetup:RegistryValue
  7030. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RedirectTemp
  7031. Parent
  7032. REG_DWORD
  7033. 0
  7034.  
  7035. DSTSetup:RegistryKey
  7036. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RefererIgnore
  7037.  
  7038. DSTSetup:RegistryStringStart
  7039. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RefererIgnore
  7040. Description
  7041. Syntax: RefererIgnore string string ...
  7042. Context: server config, virtual host
  7043. Status: Extension
  7044. Module: mod_log_referer
  7045.  
  7046.  
  7047.  
  7048. The RefererIgnore directive adds to the list of strings to ignore in Referer
  7049. headers. If any of the strings in the list is contained in the Referer header,
  7050. then no referrer information will be logged for the request. Example: 
  7051.  
  7052.  
  7053.     RefererIgnore www.ncsa.uiuc.edu
  7054.  
  7055.  
  7056. This avoids logging references from www.ncsa.uiuc.edu. 
  7057. DSTSetup:RegistryStringEnd
  7058.  
  7059. DSTSetup:RegistryValue
  7060. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RefererIgnore
  7061. Default
  7062. REG_SZ
  7063.  
  7064.  
  7065. DSTSetup:RegistryValue
  7066. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RefererIgnore
  7067. Parent
  7068. REG_DWORD
  7069. 0
  7070.  
  7071. DSTSetup:RegistryKey
  7072. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RefererLog
  7073.  
  7074. DSTSetup:RegistryStringStart
  7075. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RefererLog
  7076. Description
  7077. Syntax: RefererLog file-pipe
  7078. Default: RefererLog logs/referer_log
  7079. Context: server config, virtual host
  7080. Status: Extension
  7081. Module: mod_log_referer
  7082.  
  7083.  
  7084.  
  7085. The RefererLog directive sets the name of the file to which the server will log
  7086. the Referer header of incoming requests. File-pipe is one of 
  7087.  
  7088.  
  7089. A filename 
  7090.      A filename relative to the ServerRoot. 
  7091.  
  7092. `|' followed by a command 
  7093.      A program to receive the referrer log information on its standard input.
  7094.      Note the a new program will not be started for a VirtualHost if it inherits
  7095.      the RefererLog from the main server. 
  7096.  
  7097.  
  7098. Security: if a program is used, then it will be run under the user who started
  7099. httpd. This will be root if the server was started by root; be sure that the
  7100. program is secure.
  7101.  
  7102.  
  7103. Security: See the security tips document for details on why your security could
  7104. be compromised if the directory where logfiles are stored is writable by anyone
  7105. other than the user that starts the server.
  7106.  
  7107.  
  7108. This directive is provided for compatibility with NCSA 1.4.
  7109. DSTSetup:RegistryStringEnd
  7110.  
  7111. DSTSetup:RegistryValue
  7112. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RefererLog
  7113. Default
  7114. REG_SZ
  7115. logs/referer_log
  7116.  
  7117. DSTSetup:RegistryValue
  7118. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RefererLog
  7119. Parent
  7120. REG_DWORD
  7121. 0
  7122.  
  7123. DSTSetup:RegistryKey
  7124. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\require
  7125.  
  7126. DSTSetup:RegistryStringStart
  7127. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\require
  7128. Description
  7129. Syntax: require entity-name entity entity...
  7130. Context: directory, .htaccess
  7131. Override: AuthConfig
  7132. Status: core
  7133.  
  7134.  
  7135. This directive selects which authenticated users can access a directory. The
  7136. allowed syntaxes are: 
  7137.  
  7138.  
  7139.   * require user userid userid ...
  7140.  
  7141.  
  7142.     Only the named users can access the directory.
  7143.  
  7144.  
  7145.   * require group group-name group-name ...
  7146.  
  7147.  
  7148.     Only users in the named groups can access the directory.
  7149.  
  7150.     require valid-user
  7151.   *
  7152.  
  7153.     All valid users can access the directory. 
  7154.  
  7155.  
  7156. If require appears in a <Limit> section, then it restricts access to the named
  7157. methods, otherwise it restricts access for all methods. Example: 
  7158.  
  7159.  
  7160.     AuthType Basic
  7161.     AuthName somedomain
  7162.     AuthUserFile /web/users
  7163.     AuthGroupFile /web/groups
  7164.     <Limit GET POST>
  7165.     require group admin
  7166.     </Limit> 
  7167.  
  7168.  
  7169. Require must be accompanied by AuthName and AuthType directives, and directives
  7170. such as AuthUserFile and AuthGroupFile (to define users and groups) in order to
  7171. work correctly.
  7172. DSTSetup:RegistryStringEnd
  7173.  
  7174. DSTSetup:RegistryValue
  7175. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\require
  7176. Default
  7177. REG_SZ
  7178.  
  7179.  
  7180. DSTSetup:RegistryValue
  7181. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\require
  7182. Parent
  7183. REG_DWORD
  7184. 0
  7185.  
  7186. DSTSetup:RegistryKey
  7187. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ResourceConfig
  7188.  
  7189. DSTSetup:RegistryStringStart
  7190. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ResourceConfig
  7191. Description
  7192. Syntax: ResourceConfig filename
  7193. Default: ResourceConfig conf/srm.conf
  7194. Context: server config, virtual host
  7195. Status: core
  7196.  
  7197.  
  7198.  
  7199. The server will read this file for more directives after reading the httpd.conf
  7200. file. Filename is relative to the ServerRoot. This feature can be disabled
  7201. using: 
  7202.  
  7203.  
  7204.     ResourceConfig /dev/null
  7205.  
  7206.  
  7207. Historically, this file contained most directives except for server
  7208. configuration directives and <Directory> sections; in fact it can now contain
  7209. any server directive allowed in the server config context.
  7210.  
  7211. See also AccessConfig.
  7212. DSTSetup:RegistryStringEnd
  7213.  
  7214. DSTSetup:RegistryValue
  7215. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ResourceConfig
  7216. Default
  7217. REG_SZ
  7218. conf/srm.conf
  7219.  
  7220. DSTSetup:RegistryValue
  7221. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ResourceConfig
  7222. Parent
  7223. REG_DWORD
  7224. 0
  7225.  
  7226. DSTSetup:RegistryKey
  7227. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteBase
  7228.  
  7229. DSTSetup:RegistryStringStart
  7230. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteBase
  7231. Description
  7232. Syntax: RewriteBase BaseURL
  7233. Default: default is the physical directory path 
  7234. Context: directory, .htaccess
  7235. Override: FileInfo
  7236. Status: Extension
  7237. Module: mod_rewrite.c
  7238.  
  7239. Compatibility: Apache 1.2
  7240.  
  7241.  
  7242. The RewriteBase directive explicitly sets the base URL for per-directory
  7243. rewrites. As you will see below, RewriteRule can be used in per-directory
  7244. config files (.htaccess). There it will act locally, i.e., the local
  7245. directory prefix is stripped at this stage of processing and your rewriting
  7246. rules act only on the remainder. At the end it is automatically added. 
  7247.  
  7248.  
  7249. When a substitution occurs for a new URL, this module has to re-inject the
  7250. URL into the server processing. To be able to do this it needs to know what
  7251. the corresponding URL-prefix or URL-base is. By default this prefix is the
  7252. corresponding filepath itself. But at most websites URLs are NOT directly
  7253. related to physical filename paths, so this assumption will be usually be
  7254. wrong! There you have to use the RewriteBase directive to specify the
  7255. correct URL-prefix. 
  7256.  
  7257.  Notice: If your webserver's URLs are not directly
  7258.  related to physical file paths, you have to use 
  7259.  RewriteBase in every .htaccess files where you
  7260.  want to use RewriteRule directives. 
  7261.  
  7262. Example: 
  7263.  
  7264.  
  7265.     Assume the following per-directory config file: 
  7266.  
  7267.  
  7268.  
  7269.  
  7270.  
  7271.     #
  7272.     #  /abc/def/.htaccess -- per-dir config file for directory /abc/def
  7273.     #  Remember: /abc/def is the physical path of /xyz, i.e., the server
  7274.     #            has a 'Alias /xyz /abc/def' directive e.g.
  7275.     #
  7276.  
  7277.     RewriteEngine On
  7278.  
  7279.     #  let the server know that we are reached via /xyz and not
  7280.     #  via the physical path prefix /abc/def
  7281.     RewriteBase   /xyz
  7282.  
  7283.     #  now the rewriting rules
  7284.     RewriteRule   ^oldstuff\.html$  newstuff.html
  7285.  
  7286.  
  7287.  
  7288.  
  7289.     In the above example, a request to /xyz/oldstuff.html gets correctly
  7290.     rewritten to the physical file /abc/def/newstuff.html. 
  7291.  
  7292.      Notice - For the Apache hackers:
  7293.      The following list gives detailed information about the internal processing
  7294.      steps: 
  7295.  
  7296.  
  7297.  
  7298.  
  7299.      Request:
  7300.        /xyz/oldstuff.html
  7301.  
  7302.      Internal Processing:
  7303.        /xyz/oldstuff.html     -> /abc/def/oldstuff.html  (per-server Alias)
  7304.        /abc/def/oldstuff.html -> /abc/def/newstuff.html  (per-dir    RewriteRule)
  7305.        /abc/def/newstuff.html -> /xyz/newstuff.html      (per-dir    RewriteBase)
  7306.        /xyz/newstuff.html     -> /abc/def/newstuff.html  (per-server Alias)
  7307.  
  7308.      Result:
  7309.        /abc/def/newstuff.html
  7310.  
  7311.      This seems very complicated but is the correct Apache internal processing,
  7312.      because the per-directory rewriting comes too late in the process. So, when
  7313.      it occurs the (rewritten) request has to be re-injected into the Apache
  7314.      kernel! BUT: While this seems like a serious overhead, it really isn't,
  7315.      because this re-injection happens fully internal to the Apache server and
  7316.      the same procedure is used by many other operations inside Apache. So, you
  7317.      can be sure the design and implementation is correct. 
  7318. DSTSetup:RegistryStringEnd
  7319.  
  7320. DSTSetup:RegistryValue
  7321. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteBase
  7322. Default
  7323. REG_SZ
  7324. is the physical directory path 
  7325.  
  7326. DSTSetup:RegistryValue
  7327. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteBase
  7328. Parent
  7329. REG_DWORD
  7330. 0
  7331.  
  7332. DSTSetup:RegistryKey
  7333. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteCond
  7334.  
  7335. DSTSetup:RegistryStringStart
  7336. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteCond
  7337. Description
  7338. Syntax: RewriteCond TestString CondPattern
  7339. Default: None
  7340. Context: server config, virtual host, directory, .htaccess
  7341. Override: FileInfo
  7342. Status: Extension
  7343. Module: mod_rewrite.c
  7344.  
  7345. Compatibility: Apache 1.2 (partially), Apache 1.3
  7346.  
  7347. The RewriteCond directive defines a rule condition. Precede a RewriteRule
  7348. directive with one or more RewriteCond directives. The following rewriting
  7349. rule is only used if its pattern matches the current state of the URI and
  7350. if these additional conditions apply too. 
  7351.  
  7352.  
  7353. TestString is a string which can contains the following expanded constructs
  7354. in addition to plain text: 
  7355.  
  7356.   * RewriteRule backreferences: These are backreferences of the form 
  7357.  
  7358.         $N 
  7359.  
  7360.  
  7361.     (1 <= N <= 9) which provide access to the grouped parts (parenthesis!)
  7362.     of the pattern from the corresponding RewriteRule directive (the one
  7363.     following the current bunch of RewriteCond directives). 
  7364.  
  7365.  
  7366.   * RewriteCond backreferences: These are backreferences of the form 
  7367.  
  7368.  
  7369.         %N 
  7370.  
  7371.  
  7372.     (1 <= N <= 9) which provide access to the grouped parts (parenthesis!)
  7373.     of the pattern from the last matched RewriteCond directive in the
  7374.     current bunch of conditions. 
  7375.  
  7376.  
  7377.   * Server-Variables: These are variables of the form 
  7378.  
  7379.  
  7380.         %{ NAME_OF_VARIABLE } 
  7381.  
  7382.     where NAME_OF_VARIABLE can be a string of the following list: 
  7383.  
  7384.  
  7385.     HTTP headers:          connection & request:
  7386.  
  7387.  
  7388.     HTTP_USER_AGENT        REMOTE_ADDR
  7389.     HTTP_REFERER           REMOTE_HOST
  7390.     HTTP_COOKIE            REMOTE_USER
  7391.     HTTP_FORWARDED         REMOTE_IDENT
  7392.     HTTP_HOST              REQUEST_METHOD
  7393.     HTTP_PROXY_CONNECTION  SCRIPT_FILENAME
  7394.     HTTP_ACCEPT            PATH_INFO
  7395.                            QUERY_STRING
  7396.                            AUTH_TYPE
  7397.  
  7398.  
  7399.  
  7400.     server internals:      system stuff:         specials:
  7401.  
  7402.     DOCUMENT_ROOT          TIME_YEAR             API_VERSION
  7403.     SERVER_ADMIN           TIME_MON              THE_REQUEST
  7404.     SERVER_NAME            TIME_DAY              REQUEST_URI
  7405.     SERVER_PORT            TIME_HOUR             REQUEST_FILENAME
  7406.     SERVER_PROTOCOL        TIME_MIN              IS_SUBREQ
  7407.     SERVER_SOFTWARE        TIME_SEC
  7408.                            TIME_WDAY
  7409.                            TIME
  7410.  
  7411.  
  7412.  
  7413.  
  7414.  
  7415.      Notice: These variables all correspond to the
  7416.      similar named HTTP MIME-headers, C variables of
  7417.      the Apache server or struct tm fields of the
  7418.      Unix system. 
  7419.  
  7420.  
  7421.  
  7422.  
  7423.  pecial Notes: 
  7424.  
  7425.  
  7426.  1. The variables SCRIPT_FILENAME and REQUEST_FILENAME contain the same
  7427.     value, i.e., the value of the filename field of the internal 
  7428.     request_rec structure of the Apache server. The first name is just the
  7429.     commonly known CGI variable name while the second is the consistent
  7430.     counterpart to REQUEST_URI (which contains the value of the uri field
  7431.     of request_rec). 
  7432.  
  7433.  
  7434.  2. There is the special format: %{ENV:variable} where variable can be any
  7435.     environment variable. This is looked-up via internal Apache structures
  7436.     and (if not found there) via getenv() from the Apache server process. 
  7437.  
  7438.  3. There is the special format: %{HTTP:header} where header can be any
  7439.     HTTP MIME-header name. This is looked-up from the HTTP request.
  7440.     Example: %{HTTP:Proxy-Connection} is the value of the HTTP header
  7441.     ``Proxy-Connection:''. 
  7442.  
  7443.  
  7444.  4. There is the special format %{LA-U:variable} for look-aheads which
  7445.     perform an internal (URL-based) sub-request to determine the final
  7446.     value of variable. Use this when you want to use a variable for
  7447.     rewriting which actually is set later in an API phase and thus is not
  7448.     available at the current stage. For instance when you want to rewrite
  7449.     according to the REMOTE_USER variable from within the per-server
  7450.     context (httpd.conf file) you have to use %{LA-U:REMOTE_USER} because
  7451.     this variable is set by the authorization phases which come after the
  7452.     URL translation phase where mod_rewrite operates. On the other hand,
  7453.     because mod_rewrite implements its per-directory context (.htaccess
  7454.     file) via the Fixup phase of the API and because the authorization
  7455.     phases come before this phase, you just can use %{REMOTE_USER} there. 
  7456.  
  7457.  
  7458.  5. There is the special format: %{LA-F:variable} which perform an internal
  7459.     (filename-based) sub-request to determine the final value of variable.
  7460.     This is the most of the time the same as LA-U above. 
  7461.  
  7462.  
  7463. CondPattern is the condition pattern, i.e., a regular expression which gets
  7464. applied to the current instance of the TestString, i.e., TestString gets
  7465. evaluated and then matched against CondPattern. 
  7466.  
  7467. Remember: CondPattern is a standard Extended Regular Expression with some
  7468. additions: 
  7469.  
  7470.  
  7471.  1. You can precede the pattern string with a '!' character (exclamation
  7472.     mark) to specify a non-matching pattern. 
  7473.  
  7474.  
  7475.  2. There are some special variants of CondPatterns. Instead of real regular
  7476.     expression strings you can also use one of the following: 
  7477.  
  7478.  
  7479.       * '<CondPattern' (is lexicographically lower)
  7480.         Treats the CondPattern as a plain string and compares it
  7481.         lexicographically to TestString and results in a true expression if 
  7482.         TestString is lexicographically lower than CondPattern. 
  7483.  
  7484.  
  7485.       * '>CondPattern' (is lexicographically greater)
  7486.         Treats the CondPattern as a plain string and compares it
  7487.         lexicographically to TestString and results in a true expression if 
  7488.         TestString is lexicographically greater than CondPattern. 
  7489.  
  7490.  
  7491.       * '=CondPattern' (is lexicographically equal)
  7492.         Treats the CondPattern as a plain string and compares it
  7493.         lexicographically to TestString and results in a true expression if 
  7494.         TestString is lexicographically equal to CondPattern, i.e the two
  7495.         strings are exactly equal (character by character). If CondPattern
  7496.         is just "" (two quotation marks) this compares TestString against
  7497.         the empty string. 
  7498.  
  7499.       * '-d' (is directory)
  7500.         Treats the TestString as a pathname and tests if it exists and is a
  7501.         directory. 
  7502.  
  7503.  
  7504.       * '-f' (is regular file)
  7505.         Treats the TestString as a pathname and tests if it exists and is a
  7506.         regular file. 
  7507.  
  7508.  
  7509.       * '-s' (is regular file with size)
  7510.         Treats the TestString as a pathname and tests if it exists and is a
  7511.         regular file with size greater than zero. 
  7512.  
  7513.  
  7514.       * '-l' (is symbolic link)
  7515.         Treats the TestString as a pathname and tests if it exists and is a
  7516.         symbolic link. 
  7517.  
  7518.  
  7519.       * '-F' (is existing file via subrequest)
  7520.         Checks if TestString is a valid file and accessible via all the
  7521.         server's currently-configured access controls for that path. This
  7522.         uses an internal subrequest to determine the check, so use it with
  7523.         care because it decreases your servers performance! 
  7524.  
  7525.  
  7526.           * '-U' (is existing URL via subrequest)
  7527.             Checks if TestString is a valid URL and accessible via all the
  7528.             server's currently-configured access controls for that path. This
  7529.             uses an internal subrequest to determine the check, so use it with
  7530.             care because it decreases your server's performance! 
  7531.  
  7532.  
  7533.  
  7534.      Notice: All of these tests can also be prefixed
  7535.      by a not ('!') character to negate their
  7536.      meaning. 
  7537.  
  7538.  
  7539.  
  7540.  
  7541. Additionally you can set special flags for CondPattern by appending 
  7542.  
  7543.  
  7544.     [flags] 
  7545.  
  7546.  
  7547. as the third argument to the RewriteCond directive. Flags is a comma-separated
  7548. list of the following flags: 
  7549.  
  7550.   * 'nocase|NC' (no case)
  7551.     This makes the condition test case-insensitive, i.e., there is no
  7552.     difference between 'A-Z' and 'a-z' both in the expanded TestString and
  7553.     the CondPattern. 
  7554.  
  7555.  
  7556.   * 'ornext|OR' (or next condition)
  7557.     Use this to combine rule conditions with a local OR instead of the
  7558.     implicit AND. Typical example: 
  7559.  
  7560.  
  7561.  
  7562.  
  7563.         RewriteCond %{REMOTE_HOST}  ^host1.*  [OR]
  7564.         RewriteCond %{REMOTE_HOST}  ^host2.*  [OR]
  7565.         RewriteCond %{REMOTE_HOST}  ^host3.*
  7566.         RewriteRule ...some special stuff for any of these hosts...
  7567.  
  7568.  
  7569.     Without this flag you had to write down the cond/rule three times. 
  7570.  
  7571.  
  7572. Example: 
  7573.  
  7574.  
  7575.     To rewrite the Homepage of a site according to the ``User-Agent:'' header
  7576.     of the request, you can use the following: 
  7577.  
  7578.  
  7579.         RewriteCond  %{HTTP_USER_AGENT}  ^Mozilla.*
  7580.         RewriteRule  ^/$                 /homepage.max.html  [L]
  7581.  
  7582.         RewriteCond  %{HTTP_USER_AGENT}  ^Lynx.*
  7583.         RewriteRule  ^/$                 /homepage.min.html  [L]
  7584.  
  7585.         RewriteRule  ^/$                 /homepage.std.html  [L]
  7586.  
  7587.  
  7588.     Interpretation: If you use Netscape Navigator as your browser (which
  7589.     identifies itself as 'Mozilla'), then you get the max homepage, which
  7590.     includes Frames, etc. If you use the Lynx browser (which is
  7591.     Terminal-based), then you get the min homepage, which contains no images,
  7592.     no tables, etc. If you use any other browser you get the standard homepage.
  7593. DSTSetup:RegistryStringEnd
  7594.  
  7595. DSTSetup:RegistryValue
  7596. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteCond
  7597. Default
  7598. REG_SZ
  7599.  
  7600.  
  7601. DSTSetup:RegistryValue
  7602. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteCond
  7603. Parent
  7604. REG_DWORD
  7605. 0
  7606.  
  7607. DSTSetup:RegistryKey
  7608. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteEngine
  7609.  
  7610. DSTSetup:RegistryStringStart
  7611. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteEngine
  7612. Description
  7613. Syntax: RewriteEngine {on,off}
  7614. Default: RewriteEngine off
  7615. Context: server config, virtual host, directory, .htaccess
  7616. Override: FileInfo
  7617. Status: Extension
  7618. Module: mod_rewrite.c
  7619.  
  7620. Compatibility: Apache 1.2
  7621.  
  7622. The RewriteEngine directive enables or disables the runtime rewriting
  7623. engine. If it is set to off this module does no runtime processing at all.
  7624. It does not even update the SCRIPT_URx environment variables. 
  7625.  
  7626.  
  7627. Use this directive to disable the module instead of commenting out all 
  7628. RewriteRule directives! 
  7629.  
  7630.  
  7631. Note that, by default, rewrite configurations are not inherited. This means
  7632. that you need to have a RewriteEngine on directive for each virtual host
  7633. you wish to use it in. 
  7634. DSTSetup:RegistryStringEnd
  7635.  
  7636. DSTSetup:RegistryValue
  7637. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteEngine
  7638. Default
  7639. REG_SZ
  7640. off
  7641.  
  7642. DSTSetup:RegistryValue
  7643. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteEngine
  7644. Parent
  7645. REG_DWORD
  7646. 0
  7647.  
  7648. DSTSetup:RegistryKey
  7649. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLock
  7650.  
  7651. DSTSetup:RegistryStringStart
  7652. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLock
  7653. Description
  7654. Syntax: RewriteLock Filename
  7655. Default: None
  7656. Context: server config, virtual host
  7657. Override: Not applicable
  7658. Status: Extension
  7659. Module: mod_rewrite.c
  7660.  
  7661. Compatibility: Apache 1.3
  7662.  
  7663.  
  7664. This directive sets the filename for a synchronization lockfile which
  7665. mod_rewrite needs to communicate with RewriteMap programs. Set this
  7666. lockfile to a local path (not on a NFS-mounted device) when you want to use
  7667. a rewriting map-program. It is not required for SAMP using all other types
  7668. of rewriting maps. 
  7669. DSTSetup:RegistryStringEnd
  7670.  
  7671. DSTSetup:RegistryValue
  7672. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLock
  7673. Default
  7674. REG_SZ
  7675.  
  7676.  
  7677. DSTSetup:RegistryValue
  7678. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLock
  7679. Parent
  7680. REG_DWORD
  7681. 0
  7682.  
  7683. DSTSetup:RegistryKey
  7684. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLog
  7685.  
  7686. DSTSetup:RegistryStringStart
  7687. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLog
  7688. Description
  7689. Syntax: RewriteLog Filename
  7690. Default: None
  7691. Context: server config, virtual host
  7692. Override: Not applicable
  7693. Status: Extension
  7694. Module: mod_rewrite.c
  7695.  
  7696. Compatibility: Apache 1.2
  7697.  
  7698. The RewriteLog directive sets the name of the file to which the server logs
  7699. any rewriting actions it performs. If the name does not begin with a slash
  7700. ('/') then it is assumed to be relative to the Server Root. The directive
  7701. should occur only once per server config. 
  7702.  
  7703.  Notice: To disable the logging of rewriting
  7704.  actions it is not recommended to set Filename to 
  7705.  /dev/null, because although the rewriting engine
  7706.  does not create output to a logfile it still
  7707.  creates the logfile output internally. This will
  7708.  slow down the server with no advantage to the
  7709.  administrator! To disable logging either remove or
  7710.  comment out the RewriteLog directive or use 
  7711.  RewriteLogLevel 0! 
  7712.  
  7713.  
  7714.  
  7715.  
  7716.  Security: See the Apache Security Tips document
  7717.  for details on why your security could be
  7718.  compromised if the directory where logfiles are
  7719.  stored is writable by anyone other than the user
  7720.  that starts the server. 
  7721.  
  7722.  
  7723.  
  7724.  
  7725. Example: 
  7726.  
  7727.  
  7728.  
  7729.     RewriteLog "/usr/local/var/apache/logs/rewrite.log"
  7730. DSTSetup:RegistryStringEnd
  7731.  
  7732. DSTSetup:RegistryValue
  7733. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLog
  7734. Default
  7735. REG_SZ
  7736.  
  7737.  
  7738. DSTSetup:RegistryValue
  7739. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLog
  7740. Parent
  7741. REG_DWORD
  7742. 0
  7743.  
  7744. DSTSetup:RegistryKey
  7745. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLogLevel
  7746.  
  7747. DSTSetup:RegistryStringStart
  7748. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLogLevel
  7749. Description
  7750. Syntax: RewriteLogLevel Level
  7751. Default: RewriteLogLevel 0 
  7752. Context: server config, virtual host
  7753. Override: Not applicable
  7754. Status: Extension
  7755. Module: mod_rewrite.c
  7756.  
  7757. Compatibility: Apache 1.2
  7758.  
  7759.  
  7760. The RewriteLogLevel directive set the verbosity level of the rewriting
  7761. logfile. The default level 0 means no logging, while 9 or more means that
  7762. practically all actions are logged. 
  7763.  
  7764. To disable the logging of rewriting actions simply set Level to 0. This
  7765. disables all rewrite action logs. 
  7766.  
  7767.  Notice: Using a high value for Level will slow
  7768.  down your Apache server dramatically! Use the
  7769.  rewriting logfile only for debugging or at least
  7770.  at Level not greater than 2! 
  7771.  
  7772.  
  7773.  
  7774.  
  7775. Example: 
  7776.  
  7777.  
  7778.  
  7779.     RewriteLogLevel 3
  7780. DSTSetup:RegistryStringEnd
  7781.  
  7782. DSTSetup:RegistryValue
  7783. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLogLevel
  7784. Default
  7785. REG_SZ
  7786.  
  7787. DSTSetup:RegistryValue
  7788. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLogLevel
  7789. Parent
  7790. REG_DWORD
  7791. 0
  7792.  
  7793. DSTSetup:RegistryKey
  7794. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteMap
  7795.  
  7796. DSTSetup:RegistryStringStart
  7797. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteMap
  7798. Description
  7799. Syntax: RewriteMap MapName MapType:MapSource
  7800. Default: not used per default
  7801. Context: server config, virtual host
  7802. Override: Not applicable
  7803. Status: Extension
  7804. Module: mod_rewrite.c
  7805.  
  7806. Compatibility: Apache 1.2 (partially), Apache 1.3
  7807.  
  7808.  
  7809. The RewriteMap directive defines a Rewriting Map which can be used inside
  7810. rule substitution strings by the mapping-functions to insert/substitute
  7811. fields through a key lookup. The source of this lookup can be of various
  7812. types. 
  7813.  
  7814. The MapName is the name of the map and will be used to specify a
  7815. mapping-function for the substitution strings of a rewriting rule via one
  7816. of the following constructs: 
  7817.  
  7818.  
  7819.     ${ MapName : LookupKey }
  7820.     ${ MapName : LookupKey | DefaultValue } 
  7821.  
  7822.  
  7823. When such a construct occurs the map MapName is consulted and the key 
  7824. LookupKey is looked-up. If the key is found, the map-function construct is
  7825. substituted by SubstValue. If the key is not found then it is substituted
  7826. by DefaultValue or the empty string if no DefaultValue was specified. 
  7827.  
  7828.  
  7829. The following combinations for MapType and MapSource can be used: 
  7830.  
  7831.  
  7832.   * Standard Plain Text
  7833.     MapType: txt, MapSource: Unix filesystem path to valid regular file 
  7834.  
  7835.     This is the standard rewriting map feature where the MapSource is a
  7836.     plain ASCII file containing either blank lines, comment lines (starting
  7837.     with a '#' character) or pairs like the following - one per line. 
  7838.  
  7839.  
  7840.         MatchingKey SubstValue 
  7841.  
  7842.  
  7843.     Example: 
  7844.  
  7845.  
  7846.  
  7847.     ##
  7848.     ##  map.txt -- rewriting map
  7849.     ##
  7850.  
  7851.     Ralf.S.Engelschall    rse   # Bastard Operator From Hell
  7852.     Mr.Joe.Average        joe   # Mr. Average
  7853.  
  7854.  
  7855.  
  7856.  
  7857.  
  7858.  
  7859.  
  7860.     RewriteMap real-to-user txt:/path/to/file/map.txt
  7861.  
  7862.  
  7863.  
  7864.  
  7865.  
  7866.   * Randomized Plain Text
  7867.     MapType: rnd, MapSource: Unix filesystem path to valid regular file 
  7868.  
  7869.     This is identical to the Standard Plain Text variant above but with a
  7870.     special post-processing feature: After looking up a value it is parsed
  7871.     according to contained ``|'' characters which have the meaning of
  7872.     ``or''. Or in other words: they indicate a set of alternatives from
  7873.     which the actual returned value is chosen randomly. Although this
  7874.     sounds crazy and useless, it was actually designed for load balancing
  7875.     in a reverse proxy situation where the looked up values are server
  7876.     names. Example: 
  7877.  
  7878.  
  7879.  
  7880.  
  7881.     ##
  7882.     ##  map.txt -- rewriting map
  7883.     ##
  7884.  
  7885.     static   www1|www2|www3|www4
  7886.     dynamic  www5|www6
  7887.  
  7888.  
  7889.  
  7890.  
  7891.  
  7892.  
  7893.  
  7894.     RewriteMap servers rnd:/path/to/file/map.txt
  7895.  
  7896.  
  7897.  
  7898.  
  7899.   * Hash File
  7900.     MapType: dbm, MapSource: Unix filesystem path to valid regular file 
  7901.  
  7902.  
  7903.     Here the source is a binary NDBM format file containing the same
  7904.     contents as a Plain Text format file, but in a special representation
  7905.     which is optimized for really fast lookups. You can create such a file
  7906.     with any NDBM tool or with the following Perl script: 
  7907.  
  7908.  
  7909.  
  7910.     #!/path/to/bin/perl
  7911.     ##
  7912.     ##  txt2dbm -- convert txt map to dbm format
  7913.     ##
  7914.  
  7915.     ($txtmap, $dbmmap) = @ARGV;
  7916.     open(TXT, "<$txtmap");
  7917.     dbmopen(%DB, $dbmmap, 0644);
  7918.     while (<TXT>) {
  7919.         next if (m|^s*#.*| or m|^s*$|);
  7920.         $DB{$1} = $2 if (m|^\s*(\S+)\s+(\S+)$|);
  7921.     }
  7922.     dbmclose(%DB);
  7923.     close(TXT)
  7924.  
  7925.  
  7926.     $ txt2dbm map.txt map.db 
  7927.  
  7928.  
  7929.  
  7930.  
  7931.     Internal Function
  7932.   * MapType: int, MapSource: Internal Apache function 
  7933.  
  7934.  
  7935.     Here the source is an internal Apache function. Currently you cannot
  7936.     create your own, but the following functions already exists: 
  7937.  
  7938.        * toupper:
  7939.         Converts the looked up key to all upper case. 
  7940.        * tolower:
  7941.         Converts the looked up key to all lower case. 
  7942.  
  7943.  
  7944.  
  7945.   * External Rewriting Program
  7946.     MapType: prg, MapSource: Unix filesystem path to valid regular file 
  7947.  
  7948.  
  7949.     Here the source is a Unix program, not a map file. To create it you can
  7950.     use the language of your choice, but the result has to be a run-able
  7951.     Unix executable (i.e., either object-code or a script with the magic
  7952.     cookie trick '#!/path/to/interpreter' as the first line). 
  7953.  
  7954.  
  7955.     This program gets started once at startup of the Apache servers and
  7956.     then communicates with the rewriting engine over its stdin and stdout
  7957.     file-handles. For each map-function lookup it will receive the key to
  7958.     lookup as a newline-terminated string on stdin. It then has to give
  7959.     back the looked-up value as a newline-terminated string on stdout or
  7960.     the four-character string ``NULL'' if it fails (i.e., there is no
  7961.     corresponding value for the given key). A trivial program which will
  7962.     implement a 1:1 map (i.e., key == value) could be: 
  7963.  
  7964.  
  7965.  
  7966.     #!/usr/bin/perl
  7967.     $| = 1;
  7968.     while (<STDIN>) {
  7969.         # ...here any transformations
  7970.         # or lookups should occur...
  7971.         print $_;
  7972.     }
  7973.  
  7974.  
  7975.  
  7976.  
  7977.     But be very careful:
  7978.  
  7979.  
  7980.      1. ``Keep the program simple, stupid'' (KISS), because if this program
  7981.         hangs it will lead to a hang of the Apache server when the rule
  7982.         occurs. 
  7983.  
  7984.      2. Avoid one common mistake: never do buffered I/O on stdout! This
  7985.         will cause a deadloop! Hence the ``$|=1'' in the above example... 
  7986.  
  7987.      3. Use the RewriteLock directive to define a lockfile mod_rewrite can
  7988.         use to synchronize the communication to the program. Per default no
  7989.         such synchronization takes place. 
  7990.  
  7991.  
  7992. The RewriteMap directive can occur more than once. For each
  7993. mapping-function use one RewriteMap directive to declare its rewriting
  7994. mapfile. While you cannot declare a map in per-directory context it is of
  7995. course possible to use this map in per-directory context. 
  7996.  
  7997.  
  7998.  Notice: For plain text and DBM format files the
  7999.  looked-up keys are cached in-core until the mtime
  8000.  of the mapfile changes or the server does a
  8001.  restart. This way you can have map-functions in
  8002.  rules which are used for every request. This is no
  8003.  problem, because the external lookup only happens
  8004.  once! 
  8005. DSTSetup:RegistryStringEnd
  8006.  
  8007. DSTSetup:RegistryValue
  8008. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteMap
  8009. Default
  8010. REG_SZ
  8011. used per default
  8012.  
  8013. DSTSetup:RegistryValue
  8014. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteMap
  8015. Parent
  8016. REG_DWORD
  8017. 0
  8018.  
  8019. DSTSetup:RegistryKey
  8020. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteOptions
  8021.  
  8022. DSTSetup:RegistryStringStart
  8023. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteOptions
  8024. Description
  8025. Syntax: RewriteOptions Option
  8026. Default: None
  8027. Context: server config, virtual host, directory, .htaccess
  8028. Override: FileInfo
  8029. Status: Extension
  8030. Module: mod_rewrite.c
  8031.  
  8032. Compatibility: Apache 1.2
  8033.  
  8034.  
  8035. The RewriteOptions directive sets some special options for the current
  8036. per-server or per-directory configuration. The Option strings can be one of
  8037. the following: 
  8038.  
  8039.  
  8040.   * 'inherit'
  8041.     This forces the current configuration to inherit the configuration of
  8042.     the parent. In per-virtual-server context this means that the maps,
  8043.     conditions and rules of the main server gets inherited. In
  8044.     per-directory context this means that conditions and rules of the
  8045.     parent directory's .htaccess configuration gets inherited. 
  8046. DSTSetup:RegistryStringEnd
  8047.  
  8048. DSTSetup:RegistryValue
  8049. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteOptions
  8050. Default
  8051. REG_SZ
  8052.  
  8053.  
  8054. DSTSetup:RegistryValue
  8055. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteOptions
  8056. Parent
  8057. REG_DWORD
  8058. 0
  8059.  
  8060. DSTSetup:RegistryKey
  8061. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitCPU
  8062.  
  8063. DSTSetup:RegistryStringStart
  8064. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitCPU
  8065. Description
  8066. Syntax: RLimitCPU # or 'max' [# or 'max'] 
  8067. Default: Unset; uses operating system defaults 
  8068. Context: server config, virtual host
  8069. Status: core
  8070.  
  8071. Compatibility: RLimitCPU is only available in Apache 1.2 and later
  8072.  
  8073.  
  8074. Takes 1 or 2 parameters. The first parameter sets the soft resource limit for
  8075. all processes and the second parameter sets the maximum resource limit. Either
  8076. parameter can be a number, or max to indicate to the server that the limit
  8077. should be set to the maximum allowed by the operating system configuration.
  8078. Raising the maximum resource limit requires that the server is running as root,
  8079. or in the initial startup phase.
  8080.  
  8081. CPU resource limits are expressed in seconds per process.
  8082.  
  8083.  
  8084. See also RLimitMEM or RLimitNPROC.
  8085. DSTSetup:RegistryStringEnd
  8086.  
  8087. DSTSetup:RegistryValue
  8088. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitCPU
  8089. Default
  8090. REG_SZ
  8091. uses operating system defaults 
  8092.  
  8093. DSTSetup:RegistryValue
  8094. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitCPU
  8095. Parent
  8096. REG_DWORD
  8097. 0
  8098.  
  8099. DSTSetup:RegistryKey
  8100. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitMEM
  8101.  
  8102. DSTSetup:RegistryStringStart
  8103. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitMEM
  8104. Description
  8105. Syntax: RLimitMEM # or 'max' [# or 'max']
  8106. Default: Unset; uses operating system defaults 
  8107. Context: server config, virtual host
  8108. Status: core
  8109.  
  8110. Compatibility: RLimitMEM is only available in Apache 1.2 and later
  8111.  
  8112.  
  8113. Takes 1 or 2 parameters. The first parameter sets the soft resource limit for
  8114. all processes and the second parameter sets the maximum resource limit. Either
  8115. parameter can be a number, or max to indicate to the server that the limit
  8116. should be set to the maximum allowed by the operating system configuration.
  8117. Raising the maximum resource limit requires that the server is running as root,
  8118. or in the initial startup phase.
  8119.  
  8120. Memory resource limits are expressed in bytes per process.
  8121.  
  8122.  
  8123. See also RLimitCPU or RLimitNPROC.
  8124. DSTSetup:RegistryStringEnd
  8125.  
  8126. DSTSetup:RegistryValue
  8127. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitMEM
  8128. Default
  8129. REG_SZ
  8130. uses operating system defaults 
  8131.  
  8132. DSTSetup:RegistryValue
  8133. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitMEM
  8134. Parent
  8135. REG_DWORD
  8136. 0
  8137.  
  8138. DSTSetup:RegistryKey
  8139. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitNPROC
  8140.  
  8141. DSTSetup:RegistryStringStart
  8142. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitNPROC
  8143. Description
  8144. Syntax: RLimitNPROC # or 'max' [# or 'max']
  8145. Default: Unset; uses operating system defaults 
  8146. Context: server config, virtual host
  8147. Status: core
  8148.  
  8149. Compatibility: RLimitNPROC is only available in Apache 1.2 and later
  8150.  
  8151. Takes 1 or 2 parameters. The first parameter sets the soft resource limit for
  8152. all processes and the second parameter sets the maximum resource limit. Either
  8153. parameter can be a number, or max to indicate to the server that the limit
  8154. should be set to the maximum allowed by the operating system configuration.
  8155. Raising the maximum resource limit requires that the server is running as root,
  8156. or in the initial startup phase.
  8157.  
  8158.  
  8159. Process limits control the number of processes per user.
  8160.  
  8161.  
  8162. Note: If CGI processes are not running under userids other than the web server
  8163. userid, this directive will limit the number of processes that the server itself
  8164. can create. Evidence of this situation will be indicated by cannot fork messages
  8165. in the error_log.
  8166.  
  8167.  
  8168. See also RLimitMEM or RLimitCPU. 
  8169. DSTSetup:RegistryStringEnd
  8170.  
  8171. DSTSetup:RegistryValue
  8172. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitNPROC
  8173. Default
  8174. REG_SZ
  8175. uses operating system defaults 
  8176.  
  8177. DSTSetup:RegistryValue
  8178. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RLimitNPROC
  8179. Parent
  8180. REG_DWORD
  8181. 0
  8182.  
  8183. DSTSetup:RegistryKey
  8184. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Satisfy
  8185.  
  8186. DSTSetup:RegistryStringStart
  8187. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Satisfy
  8188. Description
  8189. Syntax: Satisfy 'any' or 'all'
  8190. Default: Satisfy all
  8191. Context: directory, .htaccess
  8192. Status: core
  8193.  
  8194. Compatibility: Satisfy is only available in Apache 1.2 and later
  8195.  
  8196.  
  8197. Access policy if both allow and require used. The parameter can be either 'all'
  8198. or 'any'. This directive is only useful if access to a particular area is being
  8199. restricted by both username/password and client host address. In this case the
  8200. default behavior ("all") is to require that the client passes the address access
  8201. restriction and enters a valid username and password. With the "any" option the
  8202. client will be granted access if they either pass the host restriction or enter
  8203. a valid username and password. This can be used to password restrict an area,
  8204. but to let clients from particular addresses in without prompting for a
  8205. password. 
  8206. DSTSetup:RegistryStringEnd
  8207.  
  8208. DSTSetup:RegistryValue
  8209. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Satisfy
  8210. Default
  8211. REG_SZ
  8212. all
  8213.  
  8214. DSTSetup:RegistryValue
  8215. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Satisfy
  8216. Parent
  8217. REG_DWORD
  8218. 0
  8219.  
  8220. DSTSetup:RegistryKey
  8221. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScoreBoardFile
  8222.  
  8223. DSTSetup:RegistryStringStart
  8224. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScoreBoardFile
  8225. Description
  8226. Syntax: ScoreBoardFile filename
  8227. Default: ScoreBoardFile logs/apache_status 
  8228. Context: server config
  8229. Status: core
  8230.  
  8231.  
  8232. The ScoreBoardFile directive is required on some architectures to place a file
  8233. that the server will use to communicate between its children and the parent. The
  8234. easiest way to find out if your architecture requires a scoreboard file is to
  8235. run Apache and see if it creates the file named by the directive. If your
  8236. architecture requires it then you must ensure that this file is not used at the
  8237. same time by more than one invocation of Apache.
  8238.  
  8239.  
  8240. If you have to use a ScoreBoardFile then you may see improved speed by placing
  8241. it on a RAM disk. But be careful that you heed the same warnings about log file
  8242. placement and security.
  8243.  
  8244.  
  8245. Apache 1.2 and above:
  8246.  
  8247.  
  8248. Linux 1.x users might be able to add -DHAVE_SHMGET -DUSE_SHMGET_SCOREBOARD to
  8249. the EXTRA_CFLAGS in your Configuration. This might work with some 1.x
  8250. installations, but won't work with all of them. (Prior to 1.3b4, HAVE_SHMGET
  8251. would have sufficed.)
  8252.  
  8253.  
  8254. SVR4 users should consider adding -DHAVE_SHMGET -DUSE_SHMGET_SCOREBOARD to the 
  8255. EXTRA_CFLAGS in your Configuration. This is believed to work, but we were unable
  8256. to test it in time for 1.2 release. (Prior to 1.3b4, HAVE_SHMGET would have
  8257. sufficed.)
  8258.  
  8259. See Also: Stopping and Restarting Apache
  8260. DSTSetup:RegistryStringEnd
  8261.  
  8262. DSTSetup:RegistryValue
  8263. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScoreBoardFile
  8264. Default
  8265. REG_SZ
  8266. logs/apache_status 
  8267.  
  8268. DSTSetup:RegistryValue
  8269. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScoreBoardFile
  8270. Parent
  8271. REG_DWORD
  8272. 0
  8273.  
  8274. DSTSetup:RegistryKey
  8275. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Script
  8276.  
  8277. DSTSetup:RegistryStringStart
  8278. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Script
  8279. Description
  8280. Syntax: Script method cgi-script
  8281. Context: server config, virtual host, directory
  8282. Status: Base
  8283. Module: mod_actions
  8284.  
  8285. Compatibility: Script is only available in Apache 1.1 and later 
  8286.  
  8287.  
  8288. This directive adds an action, which will activate cgi-script when a file is
  8289. requested using the method of method, which can be one of GET, POST, PUT or 
  8290. DELETE. It sends the URL and file path of the requested document using the
  8291. standard CGI PATH_INFO and PATH_TRANSLATED environment variables. 
  8292.  
  8293.  
  8294. Note that the Script command defines default actions only. If a CGI script is
  8295. called, or some other resource that is capable of handling the requested method
  8296. internally, it will do so. Also note that Script with a method of GET will only
  8297. be called if there are query arguments present (e.g., foo.html?hi). Otherwise,
  8298. the request will proceed normally. 
  8299.  
  8300.  
  8301. Examples: 
  8302.  
  8303.  
  8304.  
  8305.     Script GET /cgi-bin/search     #e.g. for <ISINDEX>-style searching
  8306.     Script PUT /~bob/put.cgi
  8307. DSTSetup:RegistryStringEnd
  8308.  
  8309. DSTSetup:RegistryValue
  8310. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Script
  8311. Default
  8312. REG_SZ
  8313.  
  8314.  
  8315. DSTSetup:RegistryValue
  8316. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Script
  8317. Parent
  8318. REG_DWORD
  8319. 0
  8320.  
  8321. DSTSetup:RegistryKey
  8322. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptAlias
  8323.  
  8324. DSTSetup:RegistryStringStart
  8325. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptAlias
  8326. Description
  8327. Syntax: ScriptAlias url-path directory-filename 
  8328. Context: server config, virtual host
  8329. Status: Base
  8330. Module: mod_alias 
  8331.  
  8332.  
  8333.  
  8334. The ScriptAlias directive has the same behavior as the Alias directive, except
  8335. that in addition it marks the target directory as containing CGI scripts. URLs
  8336. with a (%-decoded) path beginning with url-path will be mapped to scripts
  8337. beginning with directory-filename. 
  8338.  
  8339. Example: 
  8340.  
  8341.  
  8342.     ScriptAlias /cgi-bin/ /web/cgi-bin/
  8343.  
  8344.  
  8345. A request for http://myserver/cgi-bin/foo would cause the server to run the
  8346. script /web/cgi-bin/foo. 
  8347. DSTSetup:RegistryStringEnd
  8348.  
  8349. DSTSetup:RegistryValue
  8350. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptAlias
  8351. Default
  8352. REG_SZ
  8353.  
  8354.  
  8355. DSTSetup:RegistryValue
  8356. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptAlias
  8357. Parent
  8358. REG_DWORD
  8359. 0
  8360.  
  8361. DSTSetup:RegistryKey
  8362. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptAliasMatch
  8363.  
  8364. DSTSetup:RegistryStringStart
  8365. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptAliasMatch
  8366. Description
  8367. Syntax: ScriptAliasMatch regex directory-filename
  8368. Context: server config, virtual host
  8369. Status: Base
  8370. Module: mod_alias
  8371.  
  8372. Compatibility: Available in Apache 1.3 and later 
  8373.  
  8374.  
  8375. This directive is equivalent to ScriptAlias, but makes use of standard regular
  8376. expressions, instead of simple prefix matching. The supplied regular expression
  8377. is matched against the URL, and if it matches, the server will substitute any
  8378. parenthesized matches into the given string and use it as a filename. For
  8379. example, to activate the standard /cgi-bin, one might use: 
  8380.  
  8381.  
  8382.  
  8383.     ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1
  8384. DSTSetup:RegistryStringEnd
  8385.  
  8386. DSTSetup:RegistryValue
  8387. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptAliasMatch
  8388. Default
  8389. REG_SZ
  8390.  
  8391.  
  8392. DSTSetup:RegistryValue
  8393. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptAliasMatch
  8394. Parent
  8395. REG_DWORD
  8396. 0
  8397.  
  8398. DSTSetup:RegistryKey
  8399. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLog
  8400.  
  8401. DSTSetup:RegistryStringStart
  8402. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLog
  8403. Description
  8404. Syntax: ScriptLog filename
  8405. Default: none
  8406. Context: server config
  8407. Status: mod_cgi 
  8408.  
  8409.  
  8410. The ScriptLog directive sets the CGI script error logfile. If no ScriptLog is
  8411. given, no error log is created. If given, any CGI errors are logged into the
  8412. filename given as argument. If this is a relative file or path it is taken
  8413. relative to the server root. 
  8414.  
  8415.  
  8416. This log will be opened as the user the child processes run as, ie. the user
  8417. specified in the main User directive. This means that either the directory the
  8418. script log is in needs to be writable by that user or the file needs to be
  8419. manually created and set to be writable by that user. If you place the script
  8420. log in your main logs directory, do NOT change the directory permissions to make
  8421. it writable by the user the child processes run as.
  8422.  
  8423.  
  8424. Note that script logging is meant to be a debugging feature when writing CGI
  8425. scripts, and is not meant to be activated continuously on running servers. It is
  8426. not optimized for speed or efficiency, and may have security problems if used in
  8427. a manner other than that for which it was designed.
  8428. DSTSetup:RegistryStringEnd
  8429.  
  8430. DSTSetup:RegistryValue
  8431. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLog
  8432. Default
  8433. REG_SZ
  8434.  
  8435.  
  8436. DSTSetup:RegistryValue
  8437. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLog
  8438. Parent
  8439. REG_DWORD
  8440. 0
  8441.  
  8442. DSTSetup:RegistryKey
  8443. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLogBuffer
  8444.  
  8445. DSTSetup:RegistryStringStart
  8446. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLogBuffer
  8447. Description
  8448. Syntax: ScriptLogBuffer size
  8449. Default: 1024
  8450. Context: server config
  8451. Status: mod_cgi 
  8452.  
  8453.  
  8454.  
  8455. The size of any PUT or POST entity body that is logged to the file is limited,
  8456. to prevent the log file growing too big too quickly if large bodies are being
  8457. received. By default, up to 1024 bytes are logged, but this can be changed with
  8458. this directive. 
  8459. DSTSetup:RegistryStringEnd
  8460.  
  8461. DSTSetup:RegistryValue
  8462. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLogBuffer
  8463. Default
  8464. REG_SZ
  8465.  
  8466.  
  8467. DSTSetup:RegistryValue
  8468. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLogBuffer
  8469. Parent
  8470. REG_DWORD
  8471. 0
  8472.  
  8473. DSTSetup:RegistryKey
  8474. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLogLength
  8475.  
  8476. DSTSetup:RegistryStringStart
  8477. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLogLength
  8478. Description
  8479. Syntax: ScriptLogLength size
  8480. Default: 10385760
  8481. Context: server config
  8482. Status: mod_cgi 
  8483.  
  8484.  
  8485.  
  8486. ScriptLogLength can be used to limit the size of the CGI script logfile. Since
  8487. the logfile logs a lot of information per CGI error (all request headers, all
  8488. script output) it can grow to be a big file. To prevent problems due to
  8489. unbounded growth, this directive can be used to set an maximum file-size for the
  8490. CGI logfile. If the file exceeds this size, no more information will be written
  8491. to it. 
  8492. DSTSetup:RegistryStringEnd
  8493.  
  8494. DSTSetup:RegistryValue
  8495. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLogLength
  8496. Default
  8497. REG_SZ
  8498.  
  8499.  
  8500. DSTSetup:RegistryValue
  8501. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLogLength
  8502. Parent
  8503. REG_DWORD
  8504. 0
  8505.  
  8506. DSTSetup:RegistryKey
  8507. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SendBufferSize
  8508.  
  8509. DSTSetup:RegistryStringStart
  8510. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SendBufferSize
  8511. Description
  8512. Syntax: SendBufferSize bytes
  8513. Context: server config
  8514. Status: core
  8515.  
  8516.  
  8517.  
  8518. The server will set the TCP buffer size to the number of bytes specified. Very
  8519. useful to increase past standard OS defaults on high speed high latency (i.e.,
  8520. 100ms or so, such as transcontinental fast pipes) 
  8521. DSTSetup:RegistryStringEnd
  8522.  
  8523. DSTSetup:RegistryValue
  8524. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SendBufferSize
  8525. Default
  8526. REG_SZ
  8527.  
  8528.  
  8529. DSTSetup:RegistryValue
  8530. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SendBufferSize
  8531. Parent
  8532. REG_DWORD
  8533. 0
  8534.  
  8535. DSTSetup:RegistryKey
  8536. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerAdmin
  8537.  
  8538. DSTSetup:RegistryStringStart
  8539. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerAdmin
  8540. Description
  8541. Syntax: ServerAdmin email-address
  8542. Context: server config, virtual host
  8543. Status: core
  8544.  
  8545.  
  8546.  
  8547. The ServerAdmin sets the e-mail address that the server includes in any error
  8548. messages it returns to the client.
  8549.  
  8550.  
  8551. It may be worth setting up a dedicated address for this, e.g. 
  8552.  
  8553.  
  8554.     ServerAdmin www-admin@foo.bar.com
  8555.  
  8556. as users do not always mention that they are talking about the server!
  8557. DSTSetup:RegistryStringEnd
  8558.  
  8559. DSTSetup:RegistryValue
  8560. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerAdmin
  8561. Default
  8562. REG_SZ
  8563.  
  8564.  
  8565. DSTSetup:RegistryValue
  8566. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerAdmin
  8567. Parent
  8568. REG_DWORD
  8569. 0
  8570.  
  8571. DSTSetup:RegistryKey
  8572. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerAlias
  8573.  
  8574. DSTSetup:RegistryStringStart
  8575. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerAlias
  8576. Description
  8577. Syntax: ServerAlias host1 host2 ...
  8578. Context: virtual host
  8579. Status: core
  8580.  
  8581. Compatibility: ServerAlias is only available in Apache 1.1 and later.
  8582.  
  8583.  
  8584. The ServerAlias directive sets the alternate names for a host, for use with 
  8585. name-based virtual hosts. 
  8586.  
  8587.  
  8588. See also: Apache Virtual Host documentation 
  8589. DSTSetup:RegistryStringEnd
  8590.  
  8591. DSTSetup:RegistryValue
  8592. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerAlias
  8593. Default
  8594. REG_SZ
  8595.  
  8596.  
  8597. DSTSetup:RegistryValue
  8598. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerAlias
  8599. Parent
  8600. REG_DWORD
  8601. 0
  8602.  
  8603. DSTSetup:RegistryKey
  8604. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerName
  8605.  
  8606. DSTSetup:RegistryStringStart
  8607. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerName
  8608. Description
  8609. Syntax: ServerName fully-qualified domain name 
  8610. Context: server config, virtual host
  8611. Status: core
  8612.  
  8613.  
  8614.  
  8615. The ServerName directive sets the hostname of the server; this is only used when
  8616. creating redirection URLs. If it is not specified, then the server attempts to
  8617. deduce it from its own IP address; however this may not work reliably, or may
  8618. not return the preferred hostname. For example: 
  8619.  
  8620.  
  8621.     ServerName www.wibble.com
  8622.  
  8623. would be used if the canonical (main) name of the actual machine were 
  8624. monster.wibble.com.
  8625.  
  8626.  
  8627. See Also:
  8628. DNS Issues
  8629. UseCanonicalName
  8630. DSTSetup:RegistryStringEnd
  8631.  
  8632. DSTSetup:RegistryValue
  8633. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerName
  8634. Default
  8635. REG_SZ
  8636.  
  8637.  
  8638. DSTSetup:RegistryValue
  8639. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerName
  8640. Parent
  8641. REG_DWORD
  8642. 0
  8643.  
  8644. DSTSetup:RegistryKey
  8645. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerPath
  8646.  
  8647. DSTSetup:RegistryStringStart
  8648. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerPath
  8649. Description
  8650. Syntax: ServerPath pathname
  8651. Context: virtual host
  8652. Status: core
  8653.  
  8654. Compatibility: ServerPath is only available in Apache 1.1 and later.
  8655.  
  8656.  
  8657. The ServerPath directive sets the legacy URL pathname for a host, for use with 
  8658. name-based virtual hosts. 
  8659.  
  8660. See also: Apache Virtual Host documentation 
  8661. DSTSetup:RegistryStringEnd
  8662.  
  8663. DSTSetup:RegistryValue
  8664. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerPath
  8665. Default
  8666. REG_SZ
  8667.  
  8668.  
  8669. DSTSetup:RegistryValue
  8670. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerPath
  8671. Parent
  8672. REG_DWORD
  8673. 0
  8674.  
  8675. DSTSetup:RegistryKey
  8676. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerRoot
  8677.  
  8678. DSTSetup:RegistryStringStart
  8679. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerRoot
  8680. Description
  8681. Syntax: ServerRoot directory-filename
  8682. Default: ServerRoot /usr/local/apache
  8683. Context: server config
  8684. Status: core
  8685.  
  8686.  
  8687.  
  8688. The ServerRoot directive sets the directory in which the server lives. Typically
  8689. it will contain the subdirectories conf/ and logs/. Relative paths for other
  8690. configuration files are taken as relative to this directory.
  8691.  
  8692. See also the -d option to httpd.
  8693.  
  8694.  
  8695. See also the security tips for information on how to properly set permissions on
  8696. the ServerRoot.
  8697. DSTSetup:RegistryStringEnd
  8698.  
  8699. DSTSetup:RegistryValue
  8700. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerRoot
  8701. Default
  8702. REG_SZ
  8703. /usr/local/apache
  8704.  
  8705. DSTSetup:RegistryValue
  8706. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerRoot
  8707. Parent
  8708. REG_DWORD
  8709. 0
  8710.  
  8711. DSTSetup:RegistryKey
  8712. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerSignature
  8713.  
  8714. DSTSetup:RegistryStringStart
  8715. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerSignature
  8716. Description
  8717. Syntax: ServerSignature Off | On | EMail
  8718. Default: ServerSignature Off
  8719. Context: server config, virtual host, directory, .htaccess
  8720. Status: core
  8721.  
  8722. Compatibility: ServerSignature is only available in Apache 1.3 and later.
  8723.  
  8724.  
  8725. The ServerSignature directive allows the configuration of a trailing footer line
  8726. under server-generated documents (error messages, mod_proxy ftp directory
  8727. listings, mod_info output, ...). The reason why you would want to enable such a
  8728. footer line is that in a chain of proxies, the user often has no possibility to
  8729. tell which of the chained servers actually produced a returned error message.
  8730. The Off setting, which is the default, suppresses the error line (and is
  8731. therefore compatible with the behavior of Apache-1.2 and below). The On setting
  8732. simply adds a line with the server version number and ServerName of the serving
  8733. virtual host, and the EMail setting additionally creates a "mailto:" reference
  8734. to the ServerAdmin of the referenced document. 
  8735. DSTSetup:RegistryStringEnd
  8736.  
  8737. DSTSetup:RegistryValue
  8738. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerSignature
  8739. Default
  8740. REG_SZ
  8741. Off
  8742.  
  8743. DSTSetup:RegistryValue
  8744. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerSignature
  8745. Parent
  8746. REG_DWORD
  8747. 0
  8748.  
  8749. DSTSetup:RegistryKey
  8750. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerTokens
  8751.  
  8752. DSTSetup:RegistryStringStart
  8753. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerTokens
  8754. Description
  8755. Syntax: ServerTokens Minimal|OS|Full
  8756. Default: ServerTokens Full
  8757. Context: server config 
  8758. Status: core
  8759.  
  8760. Compatibility: ServerTokens is only available in Apache 1.3 and later 
  8761.  
  8762.  
  8763. This directive controls whether Server response header field which is sent back
  8764. to clients includes a description of the generic OS-type of the server as well
  8765. as information about compiled-in modules. 
  8766.  
  8767.  
  8768. ServerTokens Min[imal] 
  8769.      Server sends (e.g.): Server: Apache/1.3.0 
  8770.  
  8771. ServerTokens OS 
  8772.      Server sends (e.g.): Server: Apache/1.3.0 (Unix) 
  8773.  
  8774.  
  8775. ServerTokens Full (or not specified) 
  8776.      Server sends (e.g.): Server: Apache/1.3.0 (Unix) PHP/3.0 MyMod/1.2 
  8777.  
  8778.  
  8779. This setting applies to the entire server, and cannot be enabled or disabled on
  8780. a virtualhost-by-virtualhost basis. 
  8781. DSTSetup:RegistryStringEnd
  8782.  
  8783. DSTSetup:RegistryValue
  8784. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerTokens
  8785. Default
  8786. REG_SZ
  8787. Full
  8788.  
  8789. DSTSetup:RegistryValue
  8790. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerTokens
  8791. Parent
  8792. REG_DWORD
  8793. 0
  8794.  
  8795. DSTSetup:RegistryKey
  8796. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerType
  8797.  
  8798. DSTSetup:RegistryStringStart
  8799. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerType
  8800. Description
  8801. Syntax: ServerType type
  8802. Default: ServerType standalone
  8803. Context: server config
  8804. Status: core
  8805.  
  8806.  
  8807. The ServerType directive sets how the server is executed by the system. Type is
  8808. one of 
  8809.  
  8810.  
  8811. inetd 
  8812.      The server will be run from the system process inetd; the command to start
  8813.      the server is added to /etc/inetd.conf 
  8814.  
  8815.  
  8816. standalone 
  8817.      The server will run as a daemon process; the command to start the server is
  8818.      added to the system startup scripts. (/etc/rc.local or /etc/rc3.d/....) 
  8819.  
  8820.  
  8821. Inetd is the lesser used of the two options. For each http connection received,
  8822. a new copy of the server is started from scratch; after the connection is
  8823. complete, this program exits. There is a high price to pay per connection, but
  8824. for security reasons, some admins prefer this option. Inetd mode is no longer
  8825. recommended and does not always work properly. Avoid it if at all possible. 
  8826.  
  8827.  
  8828. Standalone is the most common setting for ServerType since it is far more
  8829. efficient. The server is started once, and services all subsequent connections.
  8830. If you intend running Apache to serve a busy site, standalone will probably be
  8831. your only option.
  8832. DSTSetup:RegistryStringEnd
  8833.  
  8834. DSTSetup:RegistryValue
  8835. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerType
  8836. Default
  8837. REG_SZ
  8838. standalone
  8839.  
  8840. DSTSetup:RegistryValue
  8841. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerType
  8842. Parent
  8843. REG_DWORD
  8844. 0
  8845.  
  8846. DSTSetup:RegistryKey
  8847. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnv
  8848.  
  8849. DSTSetup:RegistryStringStart
  8850. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnv
  8851. Description
  8852. Syntax: SetEnv variable value
  8853. Context: server config, virtual host
  8854. Status: Base
  8855. Module: mod_env
  8856.  
  8857. Compatibility: SetEnv is only available in Apache 1.1 and later.
  8858.  
  8859. Sets an environment variable, which is then passed on to CGI scripts. Example: 
  8860.  
  8861.  
  8862.  
  8863.     SetEnv SPECIAL_PATH /foo/bin
  8864. DSTSetup:RegistryStringEnd
  8865.  
  8866. DSTSetup:RegistryValue
  8867. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnv
  8868. Default
  8869. REG_SZ
  8870.  
  8871.  
  8872. DSTSetup:RegistryValue
  8873. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnv
  8874. Parent
  8875. REG_DWORD
  8876. 0
  8877.  
  8878. DSTSetup:RegistryKey
  8879. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnvIf
  8880.  
  8881. DSTSetup:RegistryStringStart
  8882. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnvIf
  8883. Description
  8884. Syntax: SetEnvIf attribute regex envar[=value] [...] 
  8885. Default: none 
  8886. Context: server config 
  8887. Override: none 
  8888. Status: Base 
  8889. Module: mod_setenvif 
  8890.  
  8891. Compatibility: Apache 1.3 and above 
  8892.  
  8893.  
  8894. The SetEnvIf directive defines environment variables based on attributes of the
  8895. request. These attributes can be the values of various HTTP request header
  8896. fields (see RFC2068 for more information about these), or of other aspects of
  8897. the request, including the following: 
  8898.  
  8899.  
  8900.   * Remote_Host - the hostname (if available) of the client making the request 
  8901.  
  8902.   * Remote_Addr - the IP address of the client making the request 
  8903.  
  8904.   * Remote_User - the authenticated username (if available) 
  8905.  
  8906.   * Request_Method - the name of the method being used (GET, POST, et cetera) 
  8907.  
  8908.   * Request_URI - the portion of the URL following the scheme and host portion 
  8909.  
  8910. Some of the more commonly used request header field names include Host, 
  8911. User-Agent, and Referer. 
  8912.  
  8913.  
  8914. Example: 
  8915.  
  8916.  
  8917.  
  8918.    SetEnvIf Request_URI "\.(gif)|(jpg)|(xbm)$" object_is_image
  8919.    SetEnvIf Referer www\.mydomain\.com intra_site_referral
  8920.   
  8921.  
  8922.  
  8923. The first will set the envariable object_is_image if the request was for an
  8924. image file, and the second sets intra_site_referral if the referring page was
  8925. somewhere on the www.mydomain.com Web site. 
  8926. DSTSetup:RegistryStringEnd
  8927.  
  8928. DSTSetup:RegistryValue
  8929. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnvIf
  8930. Default
  8931. REG_SZ
  8932.  
  8933.  
  8934. DSTSetup:RegistryValue
  8935. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnvIf
  8936. Parent
  8937. REG_DWORD
  8938. 0
  8939.  
  8940. DSTSetup:RegistryKey
  8941. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnvIfNoCase
  8942.  
  8943. DSTSetup:RegistryStringStart
  8944. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnvIfNoCase
  8945. Description
  8946. Syntax: SetEnvIfNoCase attribute regex envar[=value] [...] 
  8947. Default: none 
  8948. Context: server config 
  8949. Override: none 
  8950. Status: Base 
  8951. Module: mod_setenvif 
  8952.  
  8953. Compatibility: Apache 1.3 and above 
  8954.  
  8955.  
  8956. The SetEnvIfNoCase is semantically identical to the SetEnvIf directive, and
  8957. differs only in that the regular expression matching is performed in a
  8958. case-insensitive manner. For example: 
  8959.  
  8960.  
  8961.  
  8962.    SetEnvIfNoCase Host Apache\.Org site=apache
  8963.   
  8964.  
  8965. This will cause the site envariable to be set to "apache" if the HTTP request
  8966. header field Host: was included and contained Apache.Org, apache.org, or any
  8967. other combination. 
  8968. DSTSetup:RegistryStringEnd
  8969.  
  8970. DSTSetup:RegistryValue
  8971. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnvIfNoCase
  8972. Default
  8973. REG_SZ
  8974.  
  8975.  
  8976. DSTSetup:RegistryValue
  8977. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetEnvIfNoCase
  8978. Parent
  8979. REG_DWORD
  8980. 0
  8981.  
  8982. DSTSetup:RegistryKey
  8983. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetHandler
  8984.  
  8985. DSTSetup:RegistryStringStart
  8986. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetHandler
  8987. Description
  8988. Syntax: SetHandler handler-name
  8989. Context: directory, .htaccess
  8990. Status: Base
  8991. Module: mod_mime
  8992.  
  8993. Compatibility: SetHandler is only available in Apache 1.1 and later.
  8994.  
  8995.  
  8996. When placed into an .htaccess file or a <Directory> or <Location> section, this
  8997. directive forces all matching files to be parsed through the handler given by 
  8998. handler-name. For example, if you had a directory you wanted to be parsed
  8999. entirely as imagemap rule files, regardless of extension, you might put the
  9000. following into an .htaccess file in that directory: 
  9001.  
  9002.  
  9003.     SetHandler imap-file
  9004.  
  9005.  
  9006. Another example: if you wanted to have the server display a status report
  9007. whenever a URL of http://servername/status was called, you might put the
  9008. following into access.conf: 
  9009.  
  9010.  
  9011.  
  9012.     <Location /status>
  9013.     SetHandler server-status
  9014.     </Location>
  9015. DSTSetup:RegistryStringEnd
  9016.  
  9017. DSTSetup:RegistryValue
  9018. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetHandler
  9019. Default
  9020. REG_SZ
  9021.  
  9022.  
  9023. DSTSetup:RegistryValue
  9024. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SetHandler
  9025. Parent
  9026. REG_DWORD
  9027. 0
  9028.  
  9029. DSTSetup:RegistryKey
  9030. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\srm.conf
  9031.  
  9032. DSTSetup:RegistryValue
  9033. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\srm.conf
  9034. Description
  9035. REG_SZ
  9036. With this document, you define the name space that users see of your http server.  This file also defines server settings which affect how requests are serviced, and how results should be formatted.d.
  9037.  
  9038. DSTSetup:RegistryValue
  9039. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\srm.conf
  9040. Default
  9041. REG_SZ
  9042.  
  9043.  
  9044. DSTSetup:RegistryValue
  9045. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\srm.conf
  9046. Parent
  9047. REG_DWORD
  9048. 2
  9049.  
  9050. DSTSetup:RegistryKey
  9051. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\StartServers
  9052.  
  9053. DSTSetup:RegistryStringStart
  9054. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\StartServers
  9055. Description
  9056. Syntax: StartServers number
  9057. Default: StartServers 5
  9058. Context: server config
  9059. Status: core
  9060.  
  9061.  
  9062.  
  9063. The StartServers directive sets the number of child server processes created on
  9064. startup. As the number of processes is dynamically controlled depending on the
  9065. load, there is usually little reason to adjust this parameter.
  9066.  
  9067.  
  9068. When running under Microsoft Windows, this directive has no effect. There is
  9069. always one child which handles all requests. Within the child requests are
  9070. handled by separate threads. The ThreadsPerChild directive controls the maximum
  9071. number of child threads handling requests, which will have a similar effect to
  9072. the setting of StartServers on Unix. 
  9073.  
  9074. See also MinSpareServers and MaxSpareServers.
  9075. DSTSetup:RegistryStringEnd
  9076.  
  9077. DSTSetup:RegistryValue
  9078. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\StartServers
  9079. Default
  9080. REG_SZ
  9081. 5
  9082.  
  9083. DSTSetup:RegistryValue
  9084. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\StartServers
  9085. Parent
  9086. REG_DWORD
  9087. 0
  9088.  
  9089. DSTSetup:RegistryKey
  9090. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ThreadsPerChild
  9091.  
  9092. DSTSetup:RegistryStringStart
  9093. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ThreadsPerChild
  9094. Description
  9095. Syntax: ThreadsPerChild number
  9096. Default: ThreadsPerChild 50
  9097. Context: server config
  9098. Status: core (Windows)
  9099.  
  9100. Compatibility: Available only with Apache 1.3 and later with Windows 
  9101.  
  9102.  
  9103. This directive tells the server how many threads it should use. This is the
  9104. maximum number of connections the server can handle at once; be sure and set
  9105. this number high enough for your site if you get a lot of hits. 
  9106.  
  9107.  
  9108. This directive has no effect on Unix systems. Unix users should look at 
  9109. StartServers and MaxRequestsPerChild.
  9110. DSTSetup:RegistryStringEnd
  9111.  
  9112. DSTSetup:RegistryValue
  9113. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ThreadsPerChild
  9114. Default
  9115. REG_SZ
  9116. 50
  9117.  
  9118. DSTSetup:RegistryValue
  9119. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ThreadsPerChild
  9120. Parent
  9121. REG_DWORD
  9122. 0
  9123.  
  9124. DSTSetup:RegistryKey
  9125. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TimeOut
  9126.  
  9127. DSTSetup:RegistryStringStart
  9128. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TimeOut
  9129. Description
  9130. Syntax: TimeOut number
  9131. Default: TimeOut 300
  9132. Context: server config
  9133. Status: core
  9134.  
  9135.  
  9136.  
  9137. The TimeOut directive currently defines the amount of time Apache will wait for
  9138. three things: 
  9139.  
  9140.  
  9141.  1. The total amount of time it takes to receive a GET request. 
  9142.  
  9143.  2. The amount of time between receipt of TCP packets on a POST or PUT request. 
  9144.  
  9145.  3. The amount of time between ACKs on transmissions of TCP packets in
  9146.     responses. 
  9147.  
  9148. We plan on making these separately configurable at some point down the road. The
  9149. timer used to default to 1200 before 1.2, but has been lowered to 300 which is
  9150. still far more than necessary in most situations. It is not set any lower by
  9151. default because there may still be odd places in the code where the timer is not
  9152. reset when a packet is sent. 
  9153. DSTSetup:RegistryStringEnd
  9154.  
  9155. DSTSetup:RegistryValue
  9156. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TimeOut
  9157. Default
  9158. REG_SZ
  9159. 300
  9160.  
  9161. DSTSetup:RegistryValue
  9162. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TimeOut
  9163. Parent
  9164. REG_DWORD
  9165. 0
  9166.  
  9167. DSTSetup:RegistryKey
  9168. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TransferLog
  9169.  
  9170. DSTSetup:RegistryStringStart
  9171. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TransferLog
  9172. Description
  9173. Syntax: TransferLog file-pipe
  9174. Default: none
  9175. Context: server config, virtual host
  9176. Status: Base
  9177. Module: mod_log_config
  9178.  
  9179.  
  9180.  
  9181. The TransferLog directive adds a log file in the format defined by the most
  9182. recent LogFormat directive, or Common Log Format if no other default format has
  9183. been specified. File-pipe is one of 
  9184.  
  9185.  
  9186. A filename 
  9187.      A filename relative to the ServerRoot. 
  9188.  
  9189.  
  9190. `|' followed by a command 
  9191.      A program to receive the agent log information on its standard input. Note
  9192.      the a new program will not be started for a VirtualHost if it inherits the
  9193.      TransferLog from the main server. 
  9194.  
  9195.  
  9196. Security: if a program is used, then it will be run under the user who started
  9197. httpd. This will be root if the server was started by root; be sure that the
  9198. program is secure.
  9199. DSTSetup:RegistryStringEnd
  9200.  
  9201. DSTSetup:RegistryValue
  9202. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TransferLog
  9203. Default
  9204. REG_SZ
  9205.  
  9206.  
  9207. DSTSetup:RegistryValue
  9208. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TransferLog
  9209. Parent
  9210. REG_DWORD
  9211. 0
  9212.  
  9213. DSTSetup:RegistryKey
  9214. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TypesConfig
  9215.  
  9216. DSTSetup:RegistryStringStart
  9217. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TypesConfig
  9218. Description
  9219. Syntax: TypesConfig filename
  9220. Default: TypesConfig conf/mime.types
  9221. Context: server config
  9222. Status: Base
  9223. Module: mod_mime
  9224.  
  9225.  
  9226. The TypesConfig directive sets the location of the mime types configuration
  9227. file. Filename is relative to the ServerRoot. This file sets the default list of
  9228. mappings from filename extensions to content types; changing this file is not
  9229. recommended. Use the AddType directive instead. The file contains lines in the
  9230. format of the arguments to an AddType command: 
  9231.  
  9232.  
  9233.     MIME-type extension extension ...
  9234.  
  9235.  
  9236. The extensions are lower-cased. Blank lines, and lines beginning with a hash
  9237. character (`#') are ignored.
  9238. DSTSetup:RegistryStringEnd
  9239.  
  9240. DSTSetup:RegistryValue
  9241. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TypesConfig
  9242. Default
  9243. REG_SZ
  9244. conf/mime.types
  9245.  
  9246. DSTSetup:RegistryValue
  9247. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\TypesConfig
  9248. Parent
  9249. REG_DWORD
  9250. 0
  9251.  
  9252. DSTSetup:RegistryKey
  9253. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UnsetEnv
  9254.  
  9255. DSTSetup:RegistryStringStart
  9256. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UnsetEnv
  9257. Description
  9258. Syntax: UnsetEnv variable variable ...
  9259. Context: server config, virtual host
  9260. Status: Base
  9261. Module: mod_env
  9262.  
  9263. Compatibility: UnsetEnv is only available in Apache 1.1 and later.
  9264.  
  9265.  
  9266. Removes one or more environment variables from those passed on to CGI scripts.
  9267. Example: 
  9268.  
  9269.  
  9270.     UnsetEnv LD_LIBRARY_PATH
  9271. DSTSetup:RegistryStringEnd
  9272.  
  9273. DSTSetup:RegistryValue
  9274. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UnsetEnv
  9275. Default
  9276. REG_SZ
  9277.  
  9278.  
  9279. DSTSetup:RegistryValue
  9280. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UnsetEnv
  9281. Parent
  9282. REG_DWORD
  9283. 0
  9284.  
  9285. DSTSetup:RegistryKey
  9286. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UseCanonicalName
  9287.  
  9288. DSTSetup:RegistryStringStart
  9289. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UseCanonicalName
  9290. Description
  9291. Syntax: UseCanonicalName on|off
  9292. Default: UseCanonicalName on
  9293. Context: server config, virtual host, directory, .htaccess 
  9294. Override: AuthConfig
  9295.  
  9296. Compatibility: UseCanonicalName is only available in Apache 1.3 and later
  9297.  
  9298.  
  9299. In many situations Apache has to construct a self-referential URL. That is, a
  9300. URL which refers back to the same server. With UseCanonicalName on (and in all
  9301. versions prior to 1.3) Apache will use the ServerName and Port directives to
  9302. construct a canonical name for the server. This name is used in all
  9303. self-referential URLs, and for the values of SERVER_NAME and SERVER_PORT in
  9304. CGIs. 
  9305.  
  9306.  
  9307. With UseCanonicalName off Apache will form self-referential URLs using the
  9308. hostname and port supplied by the client if any are supplied (otherwise it will
  9309. use the canonical name). These values are the same that are used to implement 
  9310. name based virtual hosts, and are available with the same clients. The CGI
  9311. variables SERVER_NAME and SERVER_PORT will be constructed from the client
  9312. supplied values as well. 
  9313.  
  9314. An example where this may be useful is on an intranet server where you have
  9315. users connecting to the machine using short names such as www. You'll notice
  9316. that if the users type a shortname, and a URL which is a directory, such as 
  9317. http://www/splat, without the trailing slash then Apache will redirect them to 
  9318. http://www.domain.com/splat/. If you have authentication enabled, this will
  9319. cause the user to have to reauthenticate twice (once for www and once again for 
  9320. www.domain.com). But if UseCanonicalName is set off, then Apache will redirect
  9321. to http://www/splat/. 
  9322.  
  9323.  
  9324. Warning: if CGIs make assumptions about the values of SERVER_NAME they may be
  9325. broken by this option. The client is essentially free to give whatever value
  9326. they want as a hostname. But if the CGI is only using SERVER_NAME to construct
  9327. self-referential URLs then it should be just fine. 
  9328.  
  9329.  
  9330. See also: ServerName, Port 
  9331. DSTSetup:RegistryStringEnd
  9332.  
  9333. DSTSetup:RegistryValue
  9334. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UseCanonicalName
  9335. Default
  9336. REG_SZ
  9337. on
  9338.  
  9339. DSTSetup:RegistryValue
  9340. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UseCanonicalName
  9341. Parent
  9342. REG_DWORD
  9343. 0
  9344.  
  9345. DSTSetup:RegistryKey
  9346. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\User
  9347.  
  9348. DSTSetup:RegistryStringStart
  9349. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\User
  9350. Description
  9351. Syntax: User unix-userid
  9352. Default: User #-1
  9353. Context: server config, virtual host
  9354. Status: core
  9355.  
  9356.  
  9357.  
  9358. The User directive sets the userid as which the server will answer requests. In
  9359. order to use this directive, the standalone server must be run initially as
  9360. root. Unix-userid is one of: 
  9361.  
  9362.  
  9363. A username 
  9364.      Refers to the given user by name. 
  9365.  
  9366.  
  9367. # followed by a user number. 
  9368.      Refers to a user by their number. 
  9369.  
  9370.  
  9371. The user should have no privileges which result in it being able to access files
  9372. which are not intended to be visible to the outside world, and similarly, the
  9373. user should not be able to execute code which is not meant for httpd requests.
  9374. It is recommended that you set up a new user and group specifically for running
  9375. the server. Some admins use user nobody, but this is not always possible or
  9376. desirable. For example mod_proxy's cache, when enabled, must be accessible to
  9377. this user (see the CacheRoot directive).
  9378.  
  9379. Notes: If you start the server as a non-root user, it will fail to change to the
  9380. lesser privileged user, and will instead continue to run as that original user.
  9381. If you do start the server as root, then it is normal for the parent process to
  9382. remain running as root.
  9383.  
  9384.  
  9385. Special note: Use of this directive in <VirtualHost> requires a properly
  9386. configured suEXEC wrapper. When used inside a <VirtualHost> in this manner, only
  9387. the user that CGIs are run as is affected. Non-CGI requests are still processed
  9388. with the user specified in the main User directive.
  9389.  
  9390.  
  9391. SECURITY: Don't set User (or Group) to root unless you know exactly what you are
  9392. doing, and what the dangers are.
  9393. DSTSetup:RegistryStringEnd
  9394.  
  9395. DSTSetup:RegistryValue
  9396. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\User
  9397. Default
  9398. REG_SZ
  9399. #-1
  9400.  
  9401. DSTSetup:RegistryValue
  9402. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\User
  9403. Parent
  9404. REG_DWORD
  9405. 0
  9406.  
  9407. DSTSetup:RegistryKey
  9408. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UserDir
  9409.  
  9410. DSTSetup:RegistryStringStart
  9411. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UserDir
  9412. Description
  9413. Syntax: UserDir directory/filename
  9414. Default: UserDir public_html
  9415. Context: server config, virtual host
  9416. Status: Base
  9417. Module: mod_userdir
  9418.  
  9419. Compatibility: All forms except the UserDir public_html form are only available
  9420. in Apache 1.1 or above. Use of the enabled keyword, or disabled with a list of
  9421. usernames, is only available in Apache 1.3 and above.
  9422.  
  9423.  
  9424. The UserDir directive sets the real directory in a user's home directory to use
  9425. when a request for a document for a user is received. Directory/filename is one
  9426. of the following: 
  9427.  
  9428.  
  9429.   * The name of a directory or a pattern such as those shown below. 
  9430.  
  9431.   * The keyword disabled. This turns off all username-to-directory translations
  9432.     except those explicitly named with the enabled keyword (see below). 
  9433.  
  9434.   * The keyword disabled followed by a space-delimited list of usernames.
  9435.     Usernames that appear in such a list will never have directory translation
  9436.     performed, even if they appear in an enabled clause. 
  9437.  
  9438.   * The keyword enabled followed by a space-delimited list of usernames. These
  9439.     usernames will have directory translation performed even if a global disable
  9440.     is in effect, but not if they also appear in a disabled clause. 
  9441.  
  9442. If neither the enabled nor the disabled keywords appear in the Userdir
  9443. directive, the argument is treated as a filename pattern, and is used to turn
  9444. the name into a directory specification. A request for 
  9445. http://www.foo.com/~bob/one/two.html will be translated to: 
  9446.  
  9447.  
  9448.  
  9449. UserDir public_html     -> ~bob/public_html/one/two.html
  9450. UserDir /usr/web        -> /usr/web/bob/one/two.html
  9451. UserDir /home/*/www     -> /home/bob/www/one/two.html
  9452.  
  9453.  
  9454. The following directives will send redirects to the client: 
  9455.  
  9456.  
  9457.  
  9458. UserDir http://www.foo.com/users -> http://www.foo.com/users/bob/one/two.html
  9459. UserDir http://www.foo.com/*/usr -> http://www.foo.com/bob/usr/one/two.html
  9460. UserDir http://www.foo.com/~*/   -> http://www.foo.com/~bob/one/two.html
  9461.  
  9462.  
  9463.     Be careful when using this directive; for instance, "UserDir ./" would map 
  9464.     "/~root" to "/" - which is probably undesirable. If you are running Apache
  9465.     1.3 or above, it is strongly recommended that your configuration include a
  9466.     "UserDir disabled root" declaration. See also the <Directory> directive and
  9467.     the Security Tips page for more information. 
  9468. DSTSetup:RegistryStringEnd
  9469.  
  9470. DSTSetup:RegistryValue
  9471. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UserDir
  9472. Default
  9473. REG_SZ
  9474. public_html
  9475.  
  9476. DSTSetup:RegistryValue
  9477. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UserDir
  9478. Parent
  9479. REG_DWORD
  9480. 0
  9481.  
  9482. DSTSetup:RegistryKey
  9483. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\VirtualHost
  9484.  
  9485. DSTSetup:RegistryStringStart
  9486. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\VirtualHost
  9487. Description
  9488. Syntax: <VirtualHost addr[:port] ...> ... </VirtualHost> 
  9489. Context: server config
  9490. Status: Core.
  9491.  
  9492. Compatibility: Non-IP address-based Virtual Hosting only available in Apache 1.1
  9493. and later.
  9494. Compatibility: Multiple address support only available in Apache 1.2 and later.
  9495.  
  9496. <VirtualHost> and </VirtualHost> are used to enclose a group of directives which
  9497. will apply only to a particular virtual host. Any directive which is allowed in
  9498. a virtual host context may be used. When the server receives a request for a
  9499. document on a particular virtual host, it uses the configuration directives
  9500. enclosed in the <VirtualHost> section. Addr can be 
  9501.  
  9502.  
  9503.   * The IP address of the virtual host 
  9504.  
  9505.   * A fully qualified domain name for the IP address of the virtual host. 
  9506.  
  9507.  
  9508. Example: 
  9509.  
  9510.  
  9511.     <VirtualHost 10.1.2.3> 
  9512.     ServerAdmin webmaster@host.foo.com 
  9513.     DocumentRoot /www/docs/host.foo.com 
  9514.     ServerName host.foo.com 
  9515.     ErrorLog logs/host.foo.com-error_log 
  9516.     TransferLog logs/host.foo.com-access_log 
  9517.     </VirtualHost> 
  9518.  
  9519.  
  9520. Each VirtualHost must correspond to a different IP address, different port
  9521. number or a different host name for the server, in the latter case the server
  9522. machine must be configured to accept IP packets for multiple addresses. (If the
  9523. machine does not have multiple network interfaces, then this can be accomplished
  9524. with the ifconfig alias command (if your OS supports it), or with kernel patches
  9525. like VIF (for SunOS(TM) 4.1.x)).
  9526.  
  9527. The special name _default_ can be specified in which case this virtual host will
  9528. match any IP address that is not explicitly listed in another virtual host. In
  9529. the absence of any _default_ virtual host the "main" server config, consisting
  9530. of all those definitions outside any VirtualHost section, is used when no match
  9531. occurs.
  9532.  
  9533.  
  9534. You can specify a :port to change the port that is matched. If unspecified then
  9535. it defaults to the same port as the most recent Port statement of the main
  9536. server. You may also specify :* to match all ports on that address. (This is
  9537. recommended when used with _default_.)
  9538.  
  9539.  
  9540. SECURITY: See the security tips document for details on why your security could
  9541. be compromised if the directory where logfiles are stored is writable by anyone
  9542. other than the user that starts the server. 
  9543.  
  9544.  
  9545. NOTE: The use of <VirtualHost> does not affect what addresses Apache listens on.
  9546. You may need to ensure that Apache is listening on the correct addresses using
  9547. either BindAddress or Listen. 
  9548.  
  9549.  
  9550. See also: Apache Virtual Host documentation
  9551. See also: Warnings about DNS and Apache
  9552. See also: Setting which addresses and ports Apache uses
  9553. See also: How Directory, Location and Files sections work for an explanation of
  9554. how these different sections are combined when a request is received 
  9555. DSTSetup:RegistryStringEnd
  9556.  
  9557. DSTSetup:RegistryValue
  9558. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\VirtualHost
  9559. Default
  9560. REG_SZ
  9561.  
  9562.  
  9563. DSTSetup:RegistryValue
  9564. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\VirtualHost
  9565. Parent
  9566. REG_DWORD
  9567. 1
  9568.  
  9569. DSTSetup:RegistryKey
  9570. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\XBitHack
  9571.  
  9572. DSTSetup:RegistryStringStart
  9573. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\XBitHack
  9574. Description
  9575. Syntax: XBitHack status
  9576. Default: XBitHack off
  9577. Context: server config, virtual host, directory, .htaccess
  9578. Override: Options
  9579. Status: Base
  9580. Module: mod_include
  9581.  
  9582.  
  9583.  
  9584. The XBitHack directives controls the parsing of ordinary html documents. This
  9585. directive only affects files associated with the MIME type text/html. Status can
  9586. have the following values: 
  9587.  
  9588. off 
  9589.      No special treatment of executable files. 
  9590.  
  9591.  
  9592. on 
  9593.      Any file that has the user-execute bit set will be treated as a
  9594.      server-parsed html document. 
  9595.  
  9596.  
  9597. full 
  9598.      As for on but also test the group-execute bit. If it is set, then set the
  9599.      Last-modified date of the returned file to be the last modified time of the
  9600.      file. If it is not set, then no last-modified date is sent. Setting this
  9601.      bit allows clients and proxies to cache the result of the request. 
  9602.  
  9603.  
  9604.      Note: you would not want to use this, for example, when you #include a CGI
  9605.      that produces different output on each hit (or potentially depends on the
  9606.      hit). 
  9607. DSTSetup:RegistryStringEnd
  9608.  
  9609. DSTSetup:RegistryValue
  9610. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\XBitHack
  9611. Default
  9612. REG_SZ
  9613. off
  9614.  
  9615. DSTSetup:RegistryValue
  9616. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\XBitHack
  9617. Parent
  9618. REG_DWORD
  9619. 0
  9620.  
  9621. //
  9622. // Add the template values
  9623. //
  9624. DSTSetup:RegistryValue
  9625. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AccessConfig
  9626. Template
  9627. REG_DWORD
  9628. 123
  9629.  
  9630. DSTSetup:RegistryValue
  9631. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AgentLog
  9632. Template
  9633. REG_DWORD
  9634. 123
  9635.  
  9636. DSTSetup:RegistryValue
  9637. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_Authoritative
  9638. Template
  9639. REG_DWORD
  9640. 119
  9641.  
  9642. DSTSetup:RegistryValue
  9643. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_LogEmail
  9644. Template
  9645. REG_DWORD
  9646. 119
  9647.  
  9648. DSTSetup:RegistryValue
  9649. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_MustGiveEmail
  9650. Template
  9651. REG_DWORD
  9652. 119
  9653.  
  9654. DSTSetup:RegistryValue
  9655. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_NoUserID
  9656. Template
  9657. REG_DWORD
  9658. 119
  9659.  
  9660. DSTSetup:RegistryValue
  9661. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Anonymous_VerifyEmail
  9662. Template
  9663. REG_DWORD
  9664. 119
  9665.  
  9666. DSTSetup:RegistryValue
  9667. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthAuthoritative
  9668. Template
  9669. REG_DWORD
  9670. 119
  9671.  
  9672. DSTSetup:RegistryValue
  9673. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBAuthoritative
  9674. Template
  9675. REG_DWORD
  9676. 119
  9677.  
  9678. DSTSetup:RegistryValue
  9679. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\AuthDBMAuthoritative
  9680. Template
  9681. REG_DWORD
  9682. 119
  9683.  
  9684. DSTSetup:RegistryValue
  9685. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheDefaultExpire
  9686. Template
  9687. REG_DWORD
  9688. 120
  9689.  
  9690. DSTSetup:RegistryValue
  9691. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheGcInterval
  9692. Template
  9693. REG_DWORD
  9694. 120
  9695.  
  9696. DSTSetup:RegistryValue
  9697. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheMaxExpire
  9698. Template
  9699. REG_DWORD
  9700. 120
  9701.  
  9702. DSTSetup:RegistryValue
  9703. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheRoot
  9704. Template
  9705. REG_DWORD
  9706. 123
  9707.  
  9708. DSTSetup:RegistryValue
  9709. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CacheSize
  9710. Template
  9711. REG_DWORD
  9712. 120
  9713.  
  9714. DSTSetup:RegistryValue
  9715. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CheckSpelling
  9716. Template
  9717. REG_DWORD
  9718. 119
  9719.  
  9720. DSTSetup:RegistryValue
  9721. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ContentDigest
  9722. Template
  9723. REG_DWORD
  9724. 119
  9725.  
  9726. DSTSetup:RegistryValue
  9727. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CookieTracking
  9728. Template
  9729. REG_DWORD
  9730. 119
  9731.  
  9732. DSTSetup:RegistryValue
  9733. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\CoreDumpDirectory
  9734. Template
  9735. REG_DWORD
  9736. 123
  9737.  
  9738. DSTSetup:RegistryValue
  9739. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Directory
  9740. Template
  9741. REG_DWORD
  9742. 123
  9743.  
  9744. DSTSetup:RegistryValue
  9745. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\DocumentRoot
  9746. Template
  9747. REG_DWORD
  9748. 123
  9749.  
  9750. DSTSetup:RegistryValue
  9751. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ExpiresActive
  9752. Template
  9753. REG_DWORD
  9754. 119
  9755.  
  9756. DSTSetup:RegistryValue
  9757. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\FancyIndexing
  9758. Template
  9759. REG_DWORD
  9760. 119
  9761.  
  9762. DSTSetup:RegistryValue
  9763. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\httpd.conf
  9764. Template
  9765. REG_DWORD
  9766. 124
  9767.  
  9768. DSTSetup:RegistryValue
  9769. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\IdentityCheck
  9770. Template
  9771. REG_DWORD
  9772. 119
  9773.  
  9774. DSTSetup:RegistryValue
  9775. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAlive
  9776. Template
  9777. REG_DWORD
  9778. 119
  9779.  
  9780. DSTSetup:RegistryValue
  9781. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\KeepAliveTimeout
  9782. Template
  9783. REG_DWORD
  9784. 120
  9785.  
  9786. DSTSetup:RegistryValue
  9787. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxClients
  9788. Template
  9789. REG_DWORD
  9790. 120
  9791.  
  9792. DSTSetup:RegistryValue
  9793. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxKeepAliveRequests
  9794. Template
  9795. REG_DWORD
  9796. 120
  9797.  
  9798. DSTSetup:RegistryValue
  9799. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxRequestsPerChild
  9800. Template
  9801. REG_DWORD
  9802. 120
  9803.  
  9804. DSTSetup:RegistryValue
  9805. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MaxSpareServers
  9806. Template
  9807. REG_DWORD
  9808. 120
  9809.  
  9810. DSTSetup:RegistryValue
  9811. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MetaFiles
  9812. Template
  9813. REG_DWORD
  9814. 119
  9815.  
  9816. DSTSetup:RegistryValue
  9817. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\MinSpareServers
  9818. Template
  9819. REG_DWORD
  9820. 120
  9821.  
  9822. DSTSetup:RegistryValue
  9823. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Port
  9824. Template
  9825. REG_DWORD
  9826. 120
  9827.  
  9828. DSTSetup:RegistryValue
  9829. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ProxyRequests
  9830. Template
  9831. REG_DWORD
  9832. 119
  9833.  
  9834. DSTSetup:RegistryValue
  9835. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteEngine
  9836. Template
  9837. REG_DWORD
  9838. 119
  9839.  
  9840. DSTSetup:RegistryValue
  9841. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\RewriteLogLevel
  9842. Template
  9843. REG_DWORD
  9844. 120
  9845.  
  9846. DSTSetup:RegistryValue
  9847. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ScriptLogBuffer
  9848. Template
  9849. REG_DWORD
  9850. 120
  9851.  
  9852. DSTSetup:RegistryValue
  9853. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\SendBufferSize
  9854. Template
  9855. REG_DWORD
  9856. 120
  9857.  
  9858. DSTSetup:RegistryValue
  9859. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerPath
  9860. Template
  9861. REG_DWORD
  9862. 123
  9863.  
  9864. DSTSetup:RegistryValue
  9865. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ServerRoot
  9866. Template
  9867. REG_DWORD
  9868. 123
  9869.  
  9870. DSTSetup:RegistryValue
  9871. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\srm.conf
  9872. Template
  9873. REG_DWORD
  9874. 124
  9875.  
  9876. DSTSetup:RegistryValue
  9877. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\StartServers
  9878. Template
  9879. REG_DWORD
  9880. 120
  9881.  
  9882. DSTSetup:RegistryValue
  9883. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\ThreadsPerChild
  9884. Template
  9885. REG_DWORD
  9886. 120
  9887.  
  9888. DSTSetup:RegistryValue
  9889. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\Timeout
  9890. Template
  9891. REG_DWORD
  9892. 120
  9893.  
  9894. DSTSetup:RegistryValue
  9895. HKEY_LOCAL_MACHINE\SOFTWARE\DarkStar\ApacheConfig\Templates\UseCanonicalName
  9896. Template
  9897. REG_DWORD
  9898. 119
  9899.  
  9900.